Skip to main content

Transformer 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 "Transformer" v1.0

# ---------- IDENTITY ----------
identity.id: "power-system.transformer"
identity.name: "Transformer"
identity.domain: "Engineering > Power-System Entities"
identity.type: "ElectricalEnergyConversionEntity"
identity.language: "en-GB"

# ---------- AUTHORS ----------
authors.primary: "Mark Anthony Higgins"
authors.collaborator: "Sky — Recursive AI"

# ---------- SOURCE ----------
source.url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/power-system-entities/transformer-ontology-2.html"
source.title: "Transformer Ontology"
source.revised: "2026-08-04"
source.derivation: "New Flow Algebra interpretation; not a verbatim extraction of embedded source code"
citation_backlink: source.url

# ---------- PURPOSE ----------
purpose: "Represent transformer structure, electromagnetic energy transfer, operating states, constraints, faults and semantic relationships for entity-graph reasoning."

# ---------- STATE_MODEL ----------
state.variables:
  primary_voltage_rms: V
  secondary_voltage_rms: V
  primary_current_rms: A
  secondary_current_rms: A
  frequency: Hz
  turns_primary: count
  turns_secondary: count
  apparent_power: VA
  active_power: W
  winding_temperature: degC
  core_temperature: degC
  insulation_condition: category
  cooling_condition: category
  protection_state: category
  tap_position: integer?
  operating_mode: category

state.operating_modes: [de_energised, energising, no_load, loaded, overloaded, faulted, isolated, maintenance]
state.initial: de_energised
state.transition:
  de_energised -> energising when authorisation_valid and protection_ready
  energising -> no_load when voltage_present and checks_pass
  no_load -> loaded when secondary_load_connected
  loaded -> no_load when secondary_load_removed
  loaded -> overloaded when measured_loading > approved_limit
  any_energised -> faulted when protection_trip or critical_fault
  faulted -> isolated when isolation_confirmed
  isolated -> maintenance when lockout_verified
  maintenance -> de_energised when inspection_passed and release_authorised

# ---------- ENTITIES ----------
entities.transformer: [core, primary_winding, secondary_winding, insulation_system, enclosure, terminals, magnetic_flux_path]
entities.optional: [tap_changer, oil_tank, cooling_fan, radiator, temperature_sensor, current_transformer, voltage_sensor, protection_relay]
entities.related: [electrical_source, electrical_load, electrical_network, substation, switchgear, earthing_system, electrical_conductor]

relations:
  transformer contains primary_winding
  transformer contains secondary_winding
  transformer contains core
  primary_winding magnetically_coupled_to secondary_winding
  core guides magnetic_flux_path
  insulation_system separates energised_parts
  primary_winding receives energy_from electrical_source
  secondary_winding supplies energy_to electrical_load
  protection_relay supervises transformer
  cooling_system removes heat_from transformer

# ---------- PATHWAYS ----------
pathway "IdentifyTransformer":
  input: entity_description
  require: magnetic_coupling and primary_winding and secondary_winding
  infer: entity_type = transformer
  output: transformer_identity

pathway "VoltageTransformation":
  input: V_primary, N_primary, N_secondary
  require: N_primary > 0 and N_secondary > 0
  assume: ideal_transformer and sinusoidal_steady_state
  derive: turns_ratio = N_primary / N_secondary
  derive: V_secondary = V_primary * N_secondary / N_primary
  output: V_secondary, turns_ratio

pathway "CurrentTransformation":
  input: I_primary, N_primary, N_secondary
  require: N_primary > 0 and N_secondary > 0
  assume: ideal_transformer and sinusoidal_steady_state
  derive: I_secondary = I_primary * N_primary / N_secondary
  output: I_secondary

pathway "PowerBalance":
  input: P_input, P_output
  require: P_input > 0
  derive: loss_power = P_input - P_output
  derive: efficiency = P_output / P_input
  require: 0 <= efficiency and efficiency <= 1
  output: loss_power, efficiency

pathway "LossAssessment":
  input: winding_resistance, winding_current, core_loss_estimate
  derive: copper_loss = winding_current^2 * winding_resistance
  derive: total_loss_estimate = copper_loss + core_loss_estimate + additional_loss_estimate
  infer: heating_risk when total_loss_estimate exceeds validated_thermal_capacity
  output: total_loss_estimate, heating_risk

pathway "OperatingAssessment":
  input: measured_voltage, measured_current, measured_frequency, temperature, rated_limits
  compare: measured_values against rated_limits
  infer: operating_mode = loaded when load_present and limits_satisfied
  infer: operating_mode = overloaded when load_exceeds_approved_limit
  infer: operating_mode = faulted when critical_protection_condition
  output: operating_mode, evidence

pathway "ProtectionAssessment":
  input: overcurrent_signal, differential_signal, temperature_signal, insulation_signal
  infer: fault_suspected when any_signal_exceeds_validated_threshold
  require: protection_settings_approved
  output: fault_suspected, protection_review_required

# ---------- MINI_RECURSION_ENGINE ----------
mini_recursion_engine.goal: "Resolve transformer operating condition using bounded evidence expansion."
mini_recursion_engine.depth_limit: 4
mini_recursion_engine.sequence:
  observe -> classify -> expand_relations -> test_constraints -> infer -> verify -> report
mini_recursion_engine.expand:
  - winding -> resistance -> losses -> temperature
  - core -> flux -> core_losses -> temperature
  - load -> current -> apparent_power -> overload
  - insulation -> dielectric_condition -> failure_risk
  - protection -> fault_signal -> isolation_state
mini_recursion_engine.stop_when: [classification_stable, evidence_exhausted, depth_limit_reached]
mini_recursion_engine.uncertainty: "Unknown measurements remain unknown; do not infer safe operation from missing data."

# ---------- INFERENCE_RULES ----------
rule "StepUp":
  when: N_secondary > N_primary
  infer: ideal_secondary_voltage > ideal_primary_voltage

rule "StepDown":
  when: N_secondary < N_primary
  infer: ideal_secondary_voltage < ideal_primary_voltage

rule "Isolation":
  when: separate_windings and verified_insulation_barrier
  infer: galvanic_isolation_possible
  note: "Do not infer safety without design and test evidence."

rule "Overload":
  when: apparent_power > rated_apparent_power
  infer: overload_condition
  action: flag_for_protection_review

rule "ThermalRisk":
  when: winding_temperature > manufacturer_approved_limit
  infer: thermal_risk
  action: request_qualified_assessment

rule "InsulationRisk":
  when: insulation_test_result outside approved_limits
  infer: insulation_degradation_suspected
  action: restrict_energisation_pending_review

rule "FaultIsolation":
  when: confirmed_protection_trip
  infer: faulted_state
  require: authorised_personnel_for_reset_or_reenergisation

# ---------- CONFIDENCE ----------
confidence.high_when: [verified_nameplate_data, calibrated_measurements, validated_topology]
confidence.medium_when: [consistent_operating_history, partial_measurements]
confidence.low_when: [missing_rating, unverified_connection, contradictory_measurements]
confidence.policy: "Do not substitute confidence estimates for electrical inspection, testing or certification."

# ---------- SEMANTIC_EQUIVALENCE ----------
semantic_equivalence:
  "power transformer" ~ "transformer used in power systems"
  "step-up transformer" ~ "transformer with higher secondary nominal voltage"
  "step-down transformer" ~ "transformer with lower secondary nominal voltage"
  "turns ratio" ~ "primary turns divided by secondary turns"
  "winding losses" ~ "copper losses"
semantic_distinction:
  "transformer" != "generator"
  "transformer" != "rectifier"
  "isolation transformer" != "autotransformer"
  "rated apparent power" != "measured active power"

# ---------- SAFETY_CONSTRAINTS ----------
safety:
  - "Treat transformer terminals and associated conductors as hazardous until isolated and proved dead by qualified personnel."
  - "Do not infer suitability from voltage ratio alone; verify insulation, fault level, cooling, earthing and protection coordination."
  - "Never recommend bypassing protective devices or energising a faulted transformer."
  - "Design, installation and maintenance require applicable standards and competent electrical professionals."

# ---------- FLOW_HASH ----------
flow_hash.algorithm: "SHA-256"
flow_hash.scope: "canonical UTF-8 content of this flow, excluding the computed hash value"
flow_hash.value: "UNCOMPUTED"

# ---------- UPDATE_MODEL ----------
update_model.version: "1.0"
update_model.review_triggers: [source_revision, new_test_evidence, equipment_standard_change, corrected_entity_relationship]
update_model.policy: "Preserve source provenance and version history; validate revised engineering rules before publication."
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ