Skip to main content

Smart Grid 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 "SmartGridEntity" v1.0

# ---------- IDENTITY ----------
identity:
  name: "Smart Grid Entity"
  domain: "Engineering / Power-System Entities"
  type: "Cyber-physical electrical network entity"
  language: "en-GB"
  status: "Constructed semantic Flow Algebra mapping"

# ---------- AUTHORS ----------
authors:
  ontology: "Mark Anthony Higgins; Sky Recursive AI"
  flow_mapping: "Sky — Recursive AI"
  licence_note: "Refer to the source site's Open Research Licence for reuse conditions."

# ---------- SOURCE ----------
source:
  url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/power-system-entities/smart-grid-entity-ontology.html"
  title: "Smart Grid Entity Ontology"
  source_revised: "2026-08-04"
  interpretation: "Newly constructed mapping; not a verbatim extraction of embedded specifications."

# ---------- PURPOSE ----------
purpose:
  describe: "Represent a smart grid as a monitored, communicative and controllable power network."
  reason: "Relate generation, loads, storage, measurements, controls and protection."
  constraint: "Model-based guidance only; never substitute for validated grid protection or operator authorisation."

# ---------- STATE_MODEL ----------
state:
  grid_mode: enum("grid_connected", "islanded", "transition", "de_energised", "unknown")
  topology: graph(nodes, branches, switches)
  active_power_generation_kw: number?
  active_power_demand_kw: number?
  active_power_losses_kw: number?
  reactive_power_balance_kvar: number?
  frequency_hz: number?
  voltage_per_bus_v: map?
  storage_state_of_charge_pct: number?
  communications_health: enum("healthy", "degraded", "lost", "unknown")
  telemetry_freshness_s: number?
  protection_status: enum("healthy", "tripped", "blocked", "unknown")
  operating_status: enum("normal", "constrained", "alarm", "fault", "unknown")
  timestamp_utc: datetime?

# ---------- ENTITIES ----------
entities:
  SmartGrid: contains -> [PowerGrid, DistributedEnergyResource, Load, EnergyStorage, Sensor, SmartMeter, Controller, ProtectionDevice, CommunicationsNetwork]
  PowerGrid: connects -> [Bus, Feeder, Substation, Transformer, TransmissionLine, DistributionLine]
  DistributedEnergyResource: generates -> ElectricalPower
  EnergyStorage: charges_from -> ElectricalPower
  EnergyStorage: discharges_to -> ElectricalPower
  SmartMeter: measures -> [Energy, Voltage, Current, Power]
  Sensor: observes -> [Frequency, Voltage, Current, Temperature, SwitchPosition]
  Controller: requests -> [Dispatch, DemandResponse, VoltageControl, Switching]
  ProtectionDevice: isolates -> FaultedSection
  CommunicationsNetwork: carries -> [Telemetry, ControlRequest, StatusAcknowledgement]
  Operator: authorises -> SafetyCriticalAction

# ---------- PATHWAYS ----------
pathway "ObserveGrid":
  read -> [measurements, timestamps, device_health, topology]
  validate -> [units, provenance, range, freshness, time_alignment]
  if invalid_or_stale -> set(operating_status, "unknown")
  else -> update(state)
  emit -> GridObservation

pathway "EstimatePowerBalance":
  require -> [validated_generation, validated_demand, validated_losses]
  calculate -> balance_kw = active_power_generation_kw - active_power_demand_kw - active_power_losses_kw
  if abs(balance_kw) > configured_balance_tolerance_kw -> flag("power_imbalance")
  emit -> PowerBalanceAssessment

pathway "AssessGridHealth":
  require -> [valid_measurements, applicable_operating_limits]
  compare -> [frequency_hz, voltage_per_bus_v, thermal_loading, protection_status]
  if limit_exceeded -> set(operating_status, "alarm")
  if protection_status == "tripped" -> set(operating_status, "fault")
  emit -> GridHealthAssessment

pathway "CoordinateFlexibleResources":
  require -> [validated_state, resource_availability, approved_control_policy]
  evaluate -> [generation_dispatch, storage_dispatch, flexible_loads]
  constrain -> [equipment_ratings, state_of_charge_limits, network_limits, reserve_requirements]
  propose -> FeasibleDispatchPlan
  require -> operator_or_approved_automation_authorisation
  emit -> AuthorisedControlRequest

pathway "HandleCommunicationLoss":
  when -> communications_health in ["degraded", "lost"]
  invalidate -> stale_remote_commands
  preserve -> local_protection_and_interlocks
  transition -> approved_local_fallback_mode
  emit -> CommunicationsAlarm

pathway "FaultResponse":
  when -> protection_status == "tripped" or verified_fault == true
  defer -> certified_protection_system
  block -> unsafe_remote_reclose
  record -> [fault_event, affected_assets, timestamps, measurements]
  require -> authorised_restoration_procedure
  emit -> FaultRecord

# ---------- MINI_RECURSION_ENGINE ----------
mini_recursion_engine:
  input -> GridObservation
  initialise -> CandidateExplanations
  repeat until stable_or_iteration_limit:
    expand -> connected_assets_and_dependencies
    infer -> candidate_causes_from_validated_evidence
    filter -> [physical_consistency, topology_consistency, telemetry_freshness, protection_constraints]
    rank -> [evidence_support, operational_relevance, uncertainty]
    preserve -> unresolved_alternatives
  output -> RankedGridAssessment
  guarantee -> "Termination by explicit iteration limit; no guarantee of causal certainty."

# ---------- INFERENCE_RULES ----------
inference_rules:
  rule "Imbalance":
    when -> abs(balance_kw) > configured_balance_tolerance_kw
    infer -> "Generation, demand and losses do not reconcile within tolerance."
    caution -> "Check measurement timing, missing data and metering errors first."

  rule "VoltageDeviation":
    when -> measured_voltage outside approved_bus_voltage_limits
    infer -> "Voltage deviation at monitored bus."
    action -> "Raise alarm and evaluate authorised corrective options."

  rule "Overload":
    when -> measured_branch_loading > applicable_branch_rating
    infer -> "Possible thermal overload."
    action -> "Escalate through approved operating procedures."

  rule "TelemetryUncertain":
    when -> telemetry_freshness_s > configured_max_age_s
    infer -> "Current network state cannot be confirmed from this telemetry."
    action -> "Suppress automatic conclusions dependent on stale measurements."

  rule "ProtectionTrip":
    when -> protection_status == "tripped"
    infer -> "Protection operation recorded; root cause not yet established."
    action -> "Retain trip evidence and prohibit unapproved re-energisation."

# ---------- CONFIDENCE ----------
confidence:
  factors -> [measurement_quality, source_reliability, time_alignment, topology_accuracy, model_validation]
  reduce_when -> [missing_data, contradictory_sensors, stale_telemetry, unknown_topology]
  output -> [confidence_score, evidence_trace, unresolved_uncertainty]
  constraint -> "Do not equate model confidence with proof of operational safety."

# ---------- SEMANTIC_EQUIVALENCE ----------
semantic_equivalence:
  "smart grid" <-> "digitally monitored and coordinated electrical grid"
  "DER" <-> "distributed energy resource"
  "AMI" <-> "advanced metering infrastructure"
  "demand response" <-> "controlled adjustment of flexible electricity demand"
  "grid-connected mode" <-> "operation electrically connected to the wider network"
  "islanded mode" <-> "operation electrically separated from the wider network"
  note -> "Contextual equivalence only; terms are not universally interchangeable."

# ---------- SAFETY_CONSTRAINTS ----------
safety_constraints:
  preserve -> [protection_coordination, equipment_ratings, electrical_isolation, earthing_requirements]
  require -> [approved_limits, qualified_personnel, verified_interlocks, authorised_switching]
  prohibit -> [bypassing_protection, unsafe_reclose, unsupported_live_switching_instructions]
  note -> "Physical power-system operations require site-specific engineering review and applicable standards."

# ---------- FLOW_HASH ----------
flow_hash:
  algorithm: "SHA-256"
  value: "UNSET"
  generation: "Compute over canonical UTF-8 flow content after final editorial approval."

# ---------- UPDATE_MODEL ----------
update_model:
  version: "1.0"
  created: "2026-11-16"
  triggers -> [source_revision, model_validation, standard_revision, topology_schema_change]
  procedure -> [review_source, revise_mapping, validate_rules, regenerate_hash, publish_revision]
  provenance -> "Maintain explicit source and change history."

end flow
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ