flow "ResistorOntology" v1.0
# ---------- IDENTITY ----------
id: "engineering.electronic_component.resistor"
title: "Resistor Ontology — Flow Algebra"
locale: "en-GB"
format: "text/plain; utf-8"
# ---------- AUTHORS ----------
authors: ["Mark Anthony Higgins", "Sky — Recursive AI"]
licence: "Open Research Licence — citation required; consult source for terms"
# ---------- SOURCE ----------
source.url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/electronic-component-entities/resistor-ontology.html"
source.title: "Resistor Ontology"
source.revised: "2026-08-04"
source.mode: "newly constructed semantic Flow Algebra; not a verbatim transcription"
citation_backlink: source.url
# ---------- PURPOSE ----------
purpose: "Represent resistor identity, circuit function, measurable state, operating limits, failure modes and recursive engineering inference."
# ---------- STATE_MODEL ----------
state S(t) = (I(t), R, B, K)
I(t): observed electrical, thermal and physical measurements
R: resistor relationships and electrical laws
B: ratings, measurement uncertainty and safe operating boundaries
K: component specifications, topology and prior observations
state.operating_modes: ["unpowered", "energised", "derated", "overloaded", "failed_open", "failed_short", "drifted", "unknown"]
state.properties: ["resistance_ohm", "tolerance_fraction", "temperature_C", "voltage_V", "current_A", "power_W", "rated_power_W", "max_working_voltage_V", "temperature_coefficient_per_C"]
# ---------- ENTITIES ----------
entity Resistor: ElectronicComponent
entity FixedResistor: Resistor
entity VariableResistor: Resistor
entity Thermistor: TemperatureDependentResistor
entity ShuntResistor: LowResistanceMeasurementResistor
entity NetworkResistor: ResistorAssembly
entity CircuitNode: ElectricalConnection
entity PowerSource: ElectricalSource
entity Load: ElectricalLoad
entity ThermalEnvironment: OperatingEnvironment
entity Fault: AbnormalCondition
relation Resistor --connects_to--> CircuitNode
relation Resistor --limits--> Current
relation Resistor --dissipates--> ElectricalPower
relation Resistor --generates--> Heat
relation Resistor --has_rating--> PowerRating
relation Resistor --has_property--> Resistance
relation Resistor --subject_to--> Temperature
relation Resistor --may_exhibit--> Fault
# ---------- PATHWAYS ----------
pathway "identify_component":
input: [component_marking, circuit_context, datasheet]
derive: component_class, nominal_resistance, tolerance, ratings
output: ResistorIdentity
pathway "ohmic_analysis":
require: resistance_ohm > 0
when: voltage_V is known
derive: current_A = voltage_V / resistance_ohm
derive: power_W = voltage_V * current_A
when: current_A is known
derive: voltage_V = current_A * resistance_ohm
derive: power_W = current_A * current_A * resistance_ohm
output: [voltage_V, current_A, power_W]
pathway "thermal_derating":
input: [ambient_temperature_C, rated_power_W, datasheet_derating_curve]
require: datasheet_derating_curve is known
derive: allowed_power_W = lookup(datasheet_derating_curve, ambient_temperature_C)
compare: power_W <= allowed_power_W
output: [thermal_margin_W, derating_status]
pathway "resistance_temperature":
input: [reference_resistance_ohm, reference_temperature_C, measured_temperature_C, temperature_coefficient_per_C]
when: linear_temperature_model_valid
derive: estimated_resistance_ohm = reference_resistance_ohm * (1 + temperature_coefficient_per_C * (measured_temperature_C - reference_temperature_C))
output: estimated_resistance_ohm
pathway "series_equivalent":
input: resistor_list
require: verified_series_topology
derive: equivalent_resistance_ohm = sum(resistor_list.resistance_ohm)
output: equivalent_resistance_ohm
pathway "parallel_equivalent":
input: resistor_list
require: verified_parallel_topology and all(resistor_list.resistance_ohm > 0)
derive: equivalent_resistance_ohm = 1 / sum(1 / resistor_list.resistance_ohm)
output: equivalent_resistance_ohm
pathway "condition_assessment":
input: [measured_resistance_ohm, nominal_resistance_ohm, tolerance_fraction, measurement_uncertainty, temperature_C]
derive: tolerance_min = nominal_resistance_ohm * (1 - tolerance_fraction)
derive: tolerance_max = nominal_resistance_ohm * (1 + tolerance_fraction)
compare: measured_resistance_ohm against temperature_adjusted_limits
output: [in_tolerance, suspected_drift, uncertainty_flag]
# ---------- MINI_RECURSION_ENGINE ----------
recursion "ResistorAssessment":
initialise: S(0)
expand: E(t) = expand(I(t), R)
validate: V(t) = filter(E(t), B, K)
select: x_star = argmax_x P(x | I(t), R, B, K)
update: I(t+1) = incorporate(I(t), x_star, new_measurements)
stop_when: evidence_stable or uncertainty_unresolved or safety_boundary_reached
output: [current_state, supported_inferences, unresolved_questions]
# ---------- INFERENCE_RULES ----------
rule "ohms_law":
if: resistor_is_ohmic and resistance_ohm > 0 and voltage_V is known
then: current_A = voltage_V / resistance_ohm
rule "power_overload":
if: power_W > allowed_power_W
then: flag "power_rating_exceeded"; action "de_energise_and_review_design"
rule "open_circuit_candidate":
if: isolated_resistor_measurement indicates very_high_resistance and expected_resistance is finite
then: suspect "open_or_high_resistance_failure"
caution: "In-circuit readings and instrument limits may mislead"
rule "short_circuit_candidate":
if: isolated_resistor_measurement indicates near_zero_resistance and expected_resistance is substantially_higher
then: suspect "short_or_low_resistance_failure"
rule "temperature_drift":
if: resistance_changes_with_temperature and datasheet_coefficient_known
then: evaluate "temperature_dependence_before_fault_classification"
rule "voltage_limit":
if: abs(voltage_V) > max_working_voltage_V
then: flag "voltage_rating_exceeded"
rule "uncertain_topology":
if: circuit_topology_unverified
then: block "series_parallel_equivalence_claim"
# ---------- CONFIDENCE ----------
confidence.high: "verified topology, traceable measurements and applicable datasheet"
confidence.medium: "partial measurements with bounded assumptions"
confidence.low: "unverified identity, topology or operating conditions"
confidence.policy: "Do not assign numeric confidence without a calibrated evidence model"
# ---------- SEMANTIC_EQUIVALENCE ----------
equivalent_terms: ["resistor", "resistive component", "electrical resistance component"]
related_but_distinct: ["impedance", "reactance", "potentiometer", "thermistor", "heating element"]
disambiguation: "Resistance is a property; resistor is a physical or modelled component."
# ---------- SAFETY_BOUNDARIES ----------
safety: "Analysis is descriptive; not authorisation to work on energised circuits."
safety: "Isolate power, discharge stored energy and follow qualified electrical safety procedures before testing."
safety: "Observe power, voltage, pulse, thermal and insulation limits from the actual manufacturer datasheet."
safety: "Never infer physical safety from a single resistance measurement."
# ---------- FLOW_HASH ----------
flow_hash.algorithm: "SHA-256"
flow_hash.scope: "canonical UTF-8 file content, excluding any populated hash value"
flow_hash.value: "UNCOMPUTED"
# ---------- UPDATE_MODEL ----------
update.trigger: ["source_revision", "new_component_evidence", "measurement_correction", "rule_validation"]
update.policy: "Preserve source provenance; increment version for substantive changes; recompute hash after canonicalisation."
update.status: "initial derived ontology flow"
Download Code
Copy to Clipboard