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.3

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.3
File Size Uploaded Provenance Actions
moat_dev_heat_sim-0.0.3.tar.gz 28.3 kB Without provenance Details for moat_dev_heat_sim-0.0.3.tar.gz

Built distribution (wheel)

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

Total release size: 61.7 kB

Release files / moat_dev_heat_sim-0.0.3.tar.gz

Download URL moat_dev_heat_sim-0.0.3.tar.gz
Size 28.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e1ce4fe2ff417c486e55a0fd7a25b292b4b2e83a0b31c1d324e7cb1a419bc04d
BLAKE2b-256 checksum
How to use checksums
4e6e09cf07916c4d3f8f4561a6fc036ccdff4b56249feef9d8e7f1c3c68f4771
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.3-py3-none-any.whl

Download URL moat_dev_heat_sim-0.0.3-py3-none-any.whl
Size 33.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cfba0efd76cb9e61b11a547e71a9f6fb20975715febab330fa9831d84118d447
BLAKE2b-256 checksum
How to use checksums
230fe81f1630da142ead800e1aa8589052d1249b579036a6a47f0f61458b4ff6
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.3

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