flow "ElectronicComponent" v1.0
# ---------- IDENTITY ----------
id: "engineering.electronic_component"
category: "Engineering Entities / Electronic Component Entities"
kind: "ontology_reasoning_flow"
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/electronic-component-ontology-2.html"
source.title: "Electronic Component Ontology"
source.revised: "2026-08-04"
source.note: "Newly constructed Flow Algebra interpretation; not a verbatim extraction of hidden page specifications."
citation_backlink: source.url
# ---------- PURPOSE ----------
purpose: "Represent electronic components, their terminals, behaviours, constraints, circuit connections and failure modes as a reusable semantic reasoning flow."
scope: ["passive components", "active components", "semiconductors", "electromechanical components", "interconnections"]
# ---------- STATE_MODEL ----------
state S(t) = (I(t), R, B, K)
I(t): observed component identity, electrical conditions, temperature, connections and evidence
R: component relationships, physical laws and inference rules
B: manufacturer ratings, safe operating area, environmental limits and uncertainty bounds
K: validated electronic engineering knowledge and provenance
state.lifecycle: ["specified", "installed", "unpowered", "energised", "operating", "degraded", "failed", "isolated", "replaced"]
state.health: ["unknown", "nominal", "warning", "critical"]
# ---------- ENTITIES ----------
entity ElectronicComponent:
properties: ["component_id", "component_type", "part_number", "manufacturer", "datasheet", "terminals", "ratings", "tolerances", "operating_state"]
relations: ["part_of -> ElectronicCircuit", "connected_to -> ElectronicComponent", "has_terminal -> Terminal", "subject_to -> OperatingCondition"]
entity PassiveComponent:
subclasses: ["Resistor", "Capacitor", "Inductor", "Transformer"]
relation: "is_a -> ElectronicComponent"
entity ActiveComponent:
subclasses: ["Diode", "Transistor", "IntegratedCircuit", "VoltageRegulator"]
relation: "is_a -> ElectronicComponent"
entity Terminal:
properties: ["terminal_id", "polarity", "pin_function", "voltage", "current", "connection_state"]
entity OperatingCondition:
properties: ["voltage_V", "current_A", "power_W", "temperature_C", "frequency_Hz", "environment"]
entity FailureMode:
values: ["open_circuit", "short_circuit", "parameter_drift", "overtemperature", "dielectric_breakdown", "intermittent_contact", "unknown"]
# ---------- PATHWAYS ----------
pathway "IdentifyComponent":
input: ["marking", "part_number", "schematic_symbol", "datasheet"]
require: "at least one trustworthy identification source"
transform: "resolve candidate component type and terminal functions"
output: ["component_identity", "confidence", "evidence"]
pathway "ValidateOperatingEnvelope":
input: ["component", "operating_conditions", "datasheet_limits"]
require: "ratings available and units consistent"
transform: "compare each observed or predicted quantity with its applicable derated limit"
output: ["within_limits", "violations", "uncertainty"]
guard: "unknown ratings must never be treated as safe"
pathway "EvaluateElectricalBehaviour":
input: ["component_type", "circuit_topology", "electrical_conditions"]
transform: "select a valid device model and compute or bound its response"
output: ["predicted_response", "model_assumptions", "confidence"]
pathway "DiagnoseComponent":
input: ["symptoms", "measurements", "schematic", "known_good_reference"]
transform: "compare hypotheses against evidence and rank plausible failure modes"
output: ["failure_hypotheses", "recommended_safe_tests", "confidence"]
guard: "no live testing instruction without appropriate qualified safety assessment"
pathway "TraceDependencies":
input: ["component_id", "circuit_graph"]
transform: "follow power, signal, ground and control connections to adjacent entities"
output: ["upstream_dependencies", "downstream_effects", "affected_subsystems"]
# ---------- MINI_RECURSION_ENGINE ----------
recursion.start: "component or circuit question"
recursion.expand: "E(t) = expand(I(t), R)"
recursion.filter: "V(t) = {x in E(t) | respects_boundaries(x, B) and supported_by_evidence(x, K)}"
recursion.select: "x_star = argmax_x P(x | I(t), R, B, K)"
recursion.update: "I(t+1) = integrate(I(t), x_star, new_evidence)"
recursion.stop_when: ["question resolved", "confidence insufficient", "no safe valid pathway", "maximum depth reached"]
recursion.max_depth: 6
recursion.rule: "Do not transform hypotheses into verified facts without evidence."
# ---------- INFERENCE_RULES ----------
rule "OhmicResistor":
when: "component_type == Resistor and linear_ohmic_model_valid"
infer: "V = I * R; P = V * I = I^2 * R"
rule "CapacitorCurrent":
when: "component_type == Capacitor and lumped_linear_model_valid"
infer: "i(t) = C * d(v(t))/dt"
rule "InductorVoltage":
when: "component_type == Inductor and lumped_linear_model_valid"
infer: "v(t) = L * d(i(t))/dt"
rule "ComponentPower":
when: "terminal_sign_convention_known"
infer: "p(t) = v(t) * i(t)"
rule "Overstress":
when: "measured_or_predicted_stress > applicable_derated_limit"
infer: "state.health = critical; report overstress risk"
rule "UncertainFailure":
when: "symptoms consistent with multiple failure modes"
infer: "preserve alternative hypotheses and request discriminating evidence"
rule "Isolation":
when: "component requires physical inspection or replacement"
infer: "require safe isolation and verification by a competent person"
# ---------- CONFIDENCE ----------
confidence.sources: ["manufacturer_datasheet", "verified_measurement", "schematic", "simulation", "inference"]
confidence.policy: "Rank evidence by provenance, relevance, measurement quality and model validity."
confidence.unknown: "explicitly report missing information"
confidence.threshold_for_assertion: 0.85
confidence.note: "Threshold is a reasoning policy, not a calibrated probability guarantee."
# ---------- SEMANTIC_EQUIVALENCE ----------
semantic_equivalence:
"electronic part" ~= "electronic component" when "context identifies a circuit element"
"device terminal" ~= "component pin" when "physical pin is intended"
"component failure" ~= "device fault" when "same failure event is referenced"
semantic_distinction:
"ground" != "protective earth" unless "the circuit topology establishes equivalence"
"rated maximum" != "recommended operating condition"
"open circuit" != "powered off"
# ---------- SAFETY_CONSTRAINTS ----------
safety.require: ["observe component ratings", "account for stored energy", "verify isolation before contact", "consider thermal hazards", "follow applicable electrical standards"]
safety.forbid: ["assume an unknown part is safe", "bypass protection", "infer safety solely from nominal voltage"]
# ---------- FLOW_HASH ----------
flow_hash.algorithm: "SHA-256"
flow_hash.canonicalisation: "UTF-8; LF line endings; exclude FLOW_HASH digest field from digest input"
flow_hash.value: "not_computed"
# ---------- UPDATE_MODEL ----------
update_model.version: "1.0"
update_model.review_triggers: ["new verified component data", "revised manufacturer ratings", "ontology relationship change", "new failure evidence"]
update_model.provenance: "retain source, timestamp, editor and change rationale"
update_model.validation: "check unit consistency, graph links, safety guards and inference contradictions"
# ---------- END FLOW ----------
Download Code
Copy to Clipboard