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

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.2
File Size Uploaded Provenance Actions
moat_dev_heat_sim-0.0.2.tar.gz 28.2 kB Without provenance Details for moat_dev_heat_sim-0.0.2.tar.gz

Built distribution (wheel)

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

Total release size: 61.6 kB

Release files / moat_dev_heat_sim-0.0.2.tar.gz

Download URL moat_dev_heat_sim-0.0.2.tar.gz
Size 28.2 kB
Tags Source
SHA-256 checksum
How to use checksums
83e20d68feef598d05cb27e7bd128e311fb46fd9c10feda2125b6b0c0b46336a
BLAKE2b-256 checksum
How to use checksums
a0ea24a5d7ab6380ea57fd90d780957752e8d88135872c85e85ccc95b0ba5a95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

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

Download URL moat_dev_heat_sim-0.0.2-py3-none-any.whl
Size 33.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1c97f5baa41d6a9136c9bbd1b66265e10b7d1b51fcfc3d2b316e0e6a47cc56ad
BLAKE2b-256 checksum
How to use checksums
3c8c8871e1703d3a7524a91d60694b4563fccdb5b768d941485b99cd03b90d18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Security for moat-dev-heat-sim 0.0.2

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.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

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