flow "Inverter" v1.0
# ---------- IDENTITY ----------
id: "electronic-component.inverter"
entity_type: "PowerElectronicConverter"
category: "Electronic Component 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/electronic-component-entities/inverter-ontology.html"
source.title: "Inverter Ontology"
source.revised: "2026-08-04"
source.note: "Newly constructed semantic Flow Algebra model; not a verbatim extraction of embedded page specifications."
citation_backlink: source.url
# ---------- PURPOSE ----------
purpose: "Represent DC-to-AC conversion, switching, regulation, feedback, protection and diagnosis as typed semantic pathways."
# ---------- STATE_MODEL ----------
state S = (I, R, B, K)
I: observed inverter inputs, measured signals, operating context
R: validated physical laws, topology rules and protection constraints
B: voltage, current, frequency, temperature, time and switching bounds
K: component and system knowledge, configuration and historical observations
operating_states: [OFF, PRECHARGE, READY, STARTING, RUNNING, DERATED, FAULT, LOCKOUT, SHUTDOWN]
state.variables:
dc_bus_voltage_V: real
dc_input_current_A: real
ac_output_voltage_rms_V: real
ac_output_current_rms_A: real
output_frequency_Hz: real
output_real_power_W: real
switching_frequency_Hz: real
heat_sink_temperature_C: real
modulation_index: real
protection_active: bool
grid_connected: bool
# ---------- ENTITIES ----------
entity Inverter: converts DC electrical energy into controlled AC output
entity DCSource: provides input electrical energy
entity DCBus: stores and distributes DC-link energy
entity DCLinkCapacitor: reduces bus ripple and supports transient power
entity PowerSwitch: MOSFET, IGBT or other rated semiconductor switching element
entity GateDriver: commands switches with isolation and interlocks as required
entity Bridge: half-bridge, full-bridge or three-phase switching network
entity PWMController: generates modulation signals
entity OutputFilter: attenuates switching-frequency components
entity Sensor: measures voltage, current, temperature or frequency
entity FeedbackController: compares setpoints and measurements
entity ProtectionUnit: detects abnormal conditions and inhibits unsafe operation
entity ACLoad: receives converted electrical energy
entity GridInterface: optional synchronisation and anti-islanding interface
# ---------- RELATIONSHIPS ----------
DCSource -> supplies -> DCBus
DCLinkCapacitor -> stabilises -> DCBus
DCBus -> feeds -> Bridge
PWMController -> commands -> GateDriver
GateDriver -> switches -> PowerSwitch
PowerSwitch -> forms -> Bridge
Bridge -> produces -> SwitchedACWaveform
SwitchedACWaveform -> filtered_by -> OutputFilter
OutputFilter -> supplies -> ACLoad
Sensor -> reports_to -> FeedbackController
FeedbackController -> adjusts -> PWMController
ProtectionUnit -> inhibits -> GateDriver
GridInterface -> constrains -> GridConnectedOperation
# ---------- PATHWAYS ----------
pathway "DCtoACConversion":
require state in [READY, STARTING, RUNNING, DERATED]
require dc_bus_voltage_V within configured_input_limits
require protection_active == false
read DCSource, DCBus, modulation_command
apply valid_switching_sequence with dead_time_interlocks
produce switched_bridge_voltage
filter switched_bridge_voltage when OutputFilter exists
measure output_voltage, output_current, output_frequency
update state.variables
emit ACOutputState
pathway "VoltageRegulation":
require state in [RUNNING, DERATED]
error = voltage_setpoint_rms_V - ac_output_voltage_rms_V
command = controller(error, configured_gain, configured_limits)
constrain command to valid_modulation_range
update PWMController with command
verify measured_voltage within tolerance after settling_window
emit RegulationAssessment
pathway "FrequencyRegulation":
require mode == "standalone"
require state in [RUNNING, DERATED]
set output_frequency_Hz from validated_frequency_setpoint
constrain output_frequency_Hz to configured_frequency_limits
emit FrequencyAssessment
pathway "GridConnectedOperation":
require grid_connected == true
require certified_grid_interface == true
require synchronisation_verified == true
require anti_islanding_protection_enabled == true
control current_injection subject to grid_code_limits
if grid_lost or protection_trip then cease_energisation
emit GridInterfaceAssessment
pathway "ThermalManagement":
losses_W = input_power_W - output_real_power_W
require losses_W >= -measurement_uncertainty_W
estimate temperature_trend from losses_W, cooling_state, thermal_model
if temperature_trend exceeds derating_threshold then transition DERATED
if measured_temperature exceeds trip_threshold then transition FAULT
emit ThermalAssessment
pathway "FaultHandling":
detect [overcurrent, short_circuit, overvoltage, undervoltage,
overtemperature, gate_driver_fault, insulation_fault,
loss_of_feedback, grid_protection_trip]
if hazardous_fault then inhibit_switching; transition FAULT
if fault_latched then transition LOCKOUT
require authorised_reset and verified_safe_conditions before READY
emit FaultRecord
# ---------- PHYSICAL RELATIONSHIPS ----------
rule "PowerBalance":
P_input = V_dc * I_dc
P_output = measured_average_ac_real_power
P_loss = P_input - P_output
efficiency = P_output / P_input when P_input > 0
note "Use consistent sign conventions and account for measurement uncertainty."
rule "SinglePhaseRealPower":
P = V_rms * I_rms * true_power_factor
note "True power factor includes waveform distortion."
rule "ThreePhaseRealPower":
P = sqrt(3) * V_line_rms * I_line_rms * true_power_factor
require balanced_three_phase_conditions
rule "SwitchingAndFiltering":
output_harmonics depend_on [topology, modulation, switching_frequency,
load, output_filter]
require harmonic_limits checked against applicable system requirements
# ---------- MINI_RECURSION_ENGINE ----------
engine "InverterReasoner":
initialise S0 = (I0, R, B, K)
repeat while new_evidence and iteration_count < configured_iteration_limit:
candidates = expand(I, R)
valid = filter(candidates, B, safety_constraints, evidence_quality)
selected = argmax(valid, confidence_given(I, R, B, K))
I_next = update(I, selected, measured_feedback)
if no_material_change(I_next, I) then stop
I = I_next
emit explanation_chain, selected_state, unresolved_uncertainty
# ---------- INFERENCE_RULES ----------
infer "DCBusUndervoltage":
when dc_bus_voltage_V < configured_undervoltage_limit
then classify "input_supply_or_bus_fault"; inhibit_operation_if_required
infer "Overcurrent":
when measured_current exceeds rated_or_protection_limit
then classify "overcurrent_event"; request_protection_action
infer "OutputRegulationDeviation":
when abs(voltage_setpoint_rms_V - ac_output_voltage_rms_V) > permitted_error
then inspect [load_change, modulation_saturation, dc_bus, feedback_sensor]
infer "ExcessiveHeating":
when heat_sink_temperature_C rising and cooling_demand_high
then inspect [cooling_path, semiconductor_losses, load, ambient_temperature]
infer "DistortedOutput":
when measured_harmonic_distortion > allowed_distortion
then inspect [switching_pattern, filter_condition, nonlinear_load, control]
# ---------- SAFETY_CONSTRAINTS ----------
safety:
- "Do not treat software inference as proof of electrical isolation."
- "DC-link capacitors may retain hazardous charge after power removal."
- "Use rated protection, interlocks, isolation and verified discharge procedures."
- "Grid connection requires applicable certified protection and standards compliance."
- "Automatic fault reset must not bypass a latched safety condition."
- "Component ratings, thermal limits and fault-energy limits are device-specific."
# ---------- CONFIDENCE ----------
confidence.method: "evidence_weighted"
confidence.inputs: [sensor_quality, calibration_status, model_fit, fault_history,
measurement_uncertainty, configuration_validity]
confidence.rule: "Never assign certainty without verified evidence."
confidence.unresolved: "unknown"
# ---------- SEMANTIC_EQUIVALENCE ----------
equivalent_terms:
inverter: ["DC-AC converter", "power inverter"]
dc_link: ["DC bus", "intermediate DC circuit"]
modulation: ["PWM control", "pulse-width modulation"]
switching_bridge: ["inverter bridge", "power stage"]
output_filter: ["AC filter", "harmonic filter"]
non_equivalent_terms:
- "Inverter is not synonymous with rectifier."
- "An inverter is not necessarily grid-tied."
- "Apparent power is not equivalent to real power."
# ---------- FLOW_HASH ----------
flow_hash.algorithm: "SHA-256"
flow_hash.scope: "canonical UTF-8 flow content excluding the hash value itself"
flow_hash.value: "UNCOMPUTED"
# ---------- UPDATE_MODEL ----------
update_model.version: "1.0"
update_model.review_triggers: ["source ontology revision", "new component topology",
"validated fault evidence", "standards update"]
update_model.requirements: ["preserve provenance", "record revisions",
"revalidate rules", "recompute flow hash"]
# ---------- END FLOW ----------
Download Code
Copy to Clipboard