Skip to main content

Heating simulator

% start synopsis % start main

A simulated heating plant for the heat controller (moat-dev-heat), for tests and dry runs: no part of it is needed to run the heating.

% end synopsis

The plant model (moat.dev.heat.sim.Plant) is deterministic (seeded) and sans-IO, advanced by step(dt):

  • a stratified buffer (N layers, mixing, losses) with sensor taps for tb_water, tb_heat, tb_mid, tb_low, and the hot-water section;
  • the heat pump: output = load × Pmax(t_air) with a COP curve, t_out = t_in + P / (c · flow), start delay, minimum load, power draw, compressor speed, de-ice cycles, over-temperature trip, error codes;
  • the circulation pump: flow(PWM) with dead zone and lag;
  • the heating circuit: radiator demand from the outside temperature, valve modes, return temperature; the switchover valve;
  • hot-water draw events;
  • the pellet burner: KWB state-code sequence, ignition time and warm-up, ignition failure, load → power, top temperature;
  • the weather: outside temperature profile and forecast;
  • fault injection: stuck or stale sensors, a dead flow pump.

moat dev heat sim publishes the simulator on a MoaT-Link tree (a real or a test one) at the paths the pollers use, with a configurable time scale, for end-to-end tests and operator dry runs. Scenario files set up the plant and schedule events.

The closed-loop runner (moat.dev.heat.sim.loop.ClosedLoop) wires the plant and the units' cores in-process, in simulated time; traces of its runs are compared with stored references (moat.dev.heat.sim.trace). The heat controller's tests use both.

% end main

Metadata

Release files for moat-dev-heat-sim 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for moat-dev-heat-sim 0.0.4
File Size Uploaded Provenance Actions
moat_dev_heat_sim-0.0.4.tar.gz 28.3 kB Without provenance Details for moat_dev_heat_sim-0.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for moat-dev-heat-sim 0.0.4
File Interpreter ABI Platform Actions
moat_dev_heat_sim-0.0.4-py3-none-any.whl Python 3 none any Details for moat_dev_heat_sim-0.0.4-py3-none-any.whl

Total release size: 61.7 kB

Release files / moat_dev_heat_sim-0.0.4.tar.gz

Download URL moat_dev_heat_sim-0.0.4.tar.gz
Size 28.3 kB
Tags Source
SHA-256 checksum
How to use checksums
760024487b43d35a3a19b4dd92edaef6b24dd00955d723b138d6a40283487917
BLAKE2b-256 checksum
How to use checksums
503c736672220517ec8c9a4e52346ffc387e6fbf7f283318d7661f586d8f108b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / moat_dev_heat_sim-0.0.4-py3-none-any.whl

Download URL moat_dev_heat_sim-0.0.4-py3-none-any.whl
Size 33.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d86098498c335fd762cd5dcbe8deccc5f3bda23239c1988ff8e186f05a78513d
BLAKE2b-256 checksum
How to use checksums
d3c6b24283822c1e232a428cece3da3a67269a69ed20f1251c1cc109b93ff526
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Security for moat-dev-heat-sim 0.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page