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

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

Built distribution (wheel)

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

Total release size: 61.6 kB

Release files / moat_dev_heat_sim-0.0.1.tar.gz

Download URL moat_dev_heat_sim-0.0.1.tar.gz
Size 28.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7e956f4ee8c193d182476dd5fc4d2a57c2a3cb03c17699cd37a86a440443de03
BLAKE2b-256 checksum
How to use checksums
57a0dc90d3111c0ad3eb514bfb53aaed8490f2a1b01497827aed303ea1d6a19b
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.1-py3-none-any.whl

Download URL moat_dev_heat_sim-0.0.1-py3-none-any.whl
Size 33.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1ee569d7e13126411622a3bd0c50a91479ea9f09d921964b28ffb0643ebfd7dd
BLAKE2b-256 checksum
How to use checksums
8b04cdae5834e70ecbec6a5bbdc5ad6633d5e0e35801c2aa34df8d6df764e98e
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.1

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