energy_data_retrieval.foobot#
Read published Foobot simulation outputs; never execute the JavaScript wrapper.
- class energy_data_retrieval.foobot.ThermalPanel(date, test, offset, threshold, minutes, truth, median, lo, hi, setpoint, command)[source]#
Bases:
objectPublished temperatures (degrees C) and minutes relative to baseline start.
Dates are simulation dates, not observations. Time zone is not published; relative minutes deliberately avoid inventing UTC timestamps.
- Parameters:
date (str)
test (str)
offset (int)
threshold (float)
minutes (tuple[float, ...])
truth (tuple[float, ...])
median (tuple[float, ...])
lo (tuple[float, ...])
hi (tuple[float, ...])
setpoint (tuple[float, ...])
command (tuple[float, ...])
- date: str#
- test: str#
- offset: int#
- threshold: float#
- minutes: tuple[float, ...]#
- truth: tuple[float, ...]#
- median: tuple[float, ...]#
- lo: tuple[float, ...]#
- hi: tuple[float, ...]#
- setpoint: tuple[float, ...]#
- command: tuple[float, ...]#
- energy_data_retrieval.foobot.parse_foobot(text)[source]#
Validate the fixed assignment wrapper and decode JSON without eval.
Reject duplicate panels, incomplete schedules, nonfinite or unordered data, and inconsistent T2 issue times/setpoints. No missing trajectories are filled.
- Parameters:
text (str)
- Return type:
tuple[ThermalPanel, …]