Skip to main content

Power Factor Entity Ontology

Power-System Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 16 November 2026
Audio Overview
flow "PowerFactorEntity" v1.0

# ---------- IDENTITY ----------
id: "power-system.power-factor-entity"
label: "Power Factor Entity"
category: "Engineering Entities / Power-System Entities"
locale: "en-GB"

# ---------- AUTHORS ----------
authors:
  - "Mark Anthony Higgins"
  - "Sky — Recursive AI"
licence: "Kireth Research Open Research Licence; citation required"

# ---------- SOURCE ----------
source.url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/power-system-entities/power-factor-entity-ontology.html"
source.title: "Power Factor Entity Ontology"
source.revised: "2026-08-04"
source.mapping: "Newly constructed domain interpretation; not a verbatim extraction of embedded specifications"
citation_backlink: source.url

# ---------- PURPOSE ----------
purpose: "Represent electrical power factor, its measurements, causal dependencies, compensation options and safety boundaries as a traceable semantic reasoning flow."

# ---------- STATE_MODEL ----------
state S = (I, R, B, K)
I: observed voltage, current, real power, reactive power, apparent power, waveform and phase information
R: electrical laws, measurement definitions, system constraints and inference rules
B: equipment ratings, waveform assumptions, uncertainty and safe operating boundaries
K: historical measurements, validated models, topology and known operating conditions

state operating_mode in [unknown, normal, low_power_factor, compensated, anomalous, unsafe]
state waveform_class in [unknown, sinusoidal, distorted]
state compensation_status in [none, proposed, active, blocked]

# ---------- ENTITIES ----------
entity PowerFactor:
  kind: "dimensionless electrical performance ratio"
  attributes: [true_power_factor, displacement_power_factor, sign_convention, timestamp, uncertainty]
  relates_to: [ActivePower, ReactivePower, ApparentPower, Voltage, Current, Load, PowerMeter]

entity ActivePower:
  symbol: P
  unit: W
  meaning: "average real power transferred to a load"

entity ReactivePower:
  symbol: Q
  unit: var
  meaning: "reactive power under a specified sinusoidal or fundamental-frequency convention"

entity ApparentPower:
  symbol: S
  unit: VA
  meaning: "RMS voltage-current product for single-phase systems"

entity DisplacementPowerFactor:
  symbol: DPF
  meaning: "cosine of fundamental voltage-current phase angle"

entity HarmonicDistortion:
  meaning: "non-fundamental waveform content affecting true power factor"

entity CompensationDevice:
  types: [capacitor_bank, reactor, active_filter, power_electronics_controller]
  conditions: [approved_design, harmonics_assessed, protection_coordinated]

# ---------- PATHWAYS ----------
pathway "AcquireAndValidate":
  input: [voltage_rms, current_rms, active_power, frequency, waveform_quality, instrument_status]
  require: instrument_status == "validated"
  require: voltage_rms >= 0 and current_rms >= 0
  action: "Record phase count, sampling interval, units, topology and uncertainty"
  output: "validated measurement set or insufficient_data"

pathway "SinglePhaseTruePowerFactor":
  require: "single-phase circuit; RMS voltage and current measured over a consistent interval"
  derive: apparent_power = voltage_rms * current_rms
  if apparent_power > 0:
    derive: true_power_factor = active_power / apparent_power
    validate: abs(true_power_factor) <= 1 + measurement_tolerance
  else:
    output: "undefined at zero apparent power"
  output: [apparent_power, true_power_factor]

pathway "BalancedThreePhaseApparentPower":
  require: "balanced three-phase system; line-to-line RMS voltage and line RMS current"
  derive: apparent_power = sqrt(3) * line_voltage_rms * line_current_rms
  if apparent_power > 0:
    derive: true_power_factor = total_active_power / apparent_power
  else:
    output: "undefined at zero apparent power"
  output: [apparent_power, true_power_factor]

pathway "UnbalancedThreePhaseAssessment":
  require: "unbalanced or asymmetrical conditions identified"
  action: "Use a documented multi-phase measurement method; do not apply balanced sqrt(3) formula blindly"
  output: "phase-resolved assessment required"

pathway "SinusoidalPowerTriangle":
  require: "sinusoidal steady state and a consistent sign convention"
  derive: apparent_power_magnitude = sqrt(active_power^2 + reactive_power^2)
  derive: displacement_power_factor = cos(phase_angle)
  note: "Leading/lagging classification depends on the signed phase and reactive-power convention"
  output: [apparent_power_magnitude, displacement_power_factor]

pathway "DistortedWaveformAssessment":
  require: waveform_class == distorted
  action: "Distinguish true power factor P/S from fundamental displacement power factor"
  prohibit: "Treating cos(phase_angle) as total true power factor without harmonic qualification"
  output: "harmonic-aware power factor assessment"

pathway "CompensationReview":
  input: [measured_power_factor, target_power_factor, active_power, harmonic_spectrum, load_variation]
  require: "qualified engineering review and approved equipment ratings"
  action: "Evaluate reactive compensation, switching transients, resonance, overvoltage and harmonic interactions"
  if "harmonic or resonance risk unresolved":
    set: compensation_status = blocked
  else:
    set: compensation_status = proposed
  output: "design review recommendation; not an automatic switching command"

# ---------- MINI_RECURSION_ENGINE ----------
engine "PowerFactorReasoner":
  initialise: S0 = (I0, R, B, K0)
  repeat:
    expand: candidates = infer(I, R, K)
    filter: valid = candidates satisfying B and measurement_quality
    rank: selected = argmax(valid, evidence_strength)
    update: K_next = K + selected + provenance
    update: I_next = ingest_new_measurements()
    evaluate: "Does the updated model explain power-factor behaviour without violating boundaries?"
  until: "converged, uncertainty unresolved, safety boundary reached, or iteration budget exhausted"
  output: [classification, evidence, uncertainty, next_safe_check]

# ---------- INFERENCE_RULES ----------
rule PF01:
  when: "measured apparent power is positive and valid"
  infer: "true power factor equals active power divided by apparent power"

rule PF02:
  when: "power factor magnitude is low and active power is unchanged"
  infer: "higher apparent power and potentially higher conductor current are required under comparable voltage conditions"

rule PF03:
  when: "fundamental current lags voltage in the declared convention"
  infer: "inductive displacement behaviour"

rule PF04:
  when: "fundamental current leads voltage in the declared convention"
  infer: "capacitive displacement behaviour"

rule PF05:
  when: "harmonic distortion is significant"
  infer: "true power factor may differ from displacement power factor"

rule PF06:
  when: "power factor lies outside [-1, 1] beyond uncertainty"
  infer: "measurement, sign, scaling or calculation anomaly"

rule PF07:
  when: "reactive compensation is proposed without harmonic and protection review"
  infer: "engineering approval required; automatic intervention blocked"

# ---------- CONFIDENCE ----------
confidence.high: "calibrated synchronous measurements, correct circuit model, documented phase convention"
confidence.medium: "partial but consistent measurements with bounded uncertainty"
confidence.low: "unknown phase topology, missing waveform data, uncalibrated instruments or contradictory readings"
confidence.policy: "Do not manufacture numerical confidence scores; preserve evidence and uncertainty"

# ---------- SEMANTIC_EQUIVALENCE ----------
equivalent_terms:
  "power factor": ["PF", "real-to-apparent power ratio"]
  "true power factor": ["total power factor", "P/S"]
  "displacement power factor": ["fundamental cos phi", "fundamental phase power factor"]
  "active power": ["real power", "P"]
  "reactive power": ["Q", "vars"]
  "apparent power": ["S", "volt-amperes"]
non_equivalence:
  - "True power factor is not necessarily equal to cos phi for distorted waveforms"
  - "Power factor is not efficiency"
  - "A low power factor does not alone prove a faulty load"

# ---------- SAFETY_BOUNDARIES ----------
boundary: "No live switching, capacitor-bank energisation, relay setting or equipment modification without competent authorisation"
boundary: "Confirm isolation and appropriate electrical safety procedures before physical inspection"
boundary: "Treat metering results as diagnostic evidence, not proof of safe installation"
boundary: "Follow applicable equipment specifications and electrical standards"

# ---------- FLOW_HASH ----------
flow_hash.method: "SHA-256 over canonical UTF-8 file content, excluding any populated hash field"
flow_hash.value: "UNCOMPUTED"

# ---------- UPDATE_MODEL ----------
update.trigger: ["new measurement", "topology change", "harmonic change", "equipment replacement", "standard revision", "source revision"]
update.action: "Revalidate assumptions, preserve prior versions and record evidence provenance"
update.version_policy: "Increment minor version for compatible refinement; major version for semantic changes"

# ---------- END FLOW ----------
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ