Skip to main content

ブロック線図ベースの動的システムシミュレータ

CI License: MIT Python 3.11+

flode Web GUI — PI 制御ループを実行した画面

上の画面のモデルは examples/pi_control_demo.flw.json (Step → Sum → PI 制御器 → プラント → Scope、単位フィードバック付き)。

インストール

前提: Python 3.11+。ソースから入れる場合は Node.js 20+ も必要。

git clone https://github.com/aramoto99/flode.git
cd flode

# frontend をビルド (flode/server/static/ に出力される)
cd flode/web/frontend && npm install && npm run build && cd ../../..

pip install -e .

使い方

Web GUI

flode                                       # サーバ起動 + ブラウザが自動で開く
flode --workspace ./my-models --port 8770   # workspace とポートを指定
flode --no-browser                          # ブラウザを開かない

Python API

from flode import Simulator
from flode.blocks import Constant, Gain, Integrator, Scope

sim = Simulator(t_end=10.0, dt=0.01)

src   = sim.add(Constant(value=1.0, id="src"))
gain  = sim.add(Gain(k=2.0, id="gain"))
integ = sim.add(Integrator(x0=0.0, id="integ"))
scope = sim.add(Scope(n_inputs=1, id="scope"))

sim.connect(src, gain)
sim.connect(gain, integ)
sim.connect(integ, scope)

sim.run()
scope.plot(show=True)

Metadata

Release files for flode 0.60.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 flode 0.60.3
File Size Uploaded
flode-0.60.3.tar.gz 1.7 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for flode 0.60.3
File Interpreter ABI Platform
flode-0.60.3-py3-none-any.whl Python 3 none any Details

Total release size: 3.2 MB

Release files / flode-0.60.3.tar.gz

Download URL flode-0.60.3.tar.gz
Size 1.7 MB
Tags Source
SHA-256 checksum
How to use checksums
d37c957c56228c6a8d3c2793cae4cf6388477a6511f626971b6f22d8ef8be923
BLAKE2b-256 checksum
How to use checksums
323a219cebedf1624b32567e4026cec6b5f32390ec563f8fe14d8915063790c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 12, 2026.

Transparency log

Release files / flode-0.60.3-py3-none-any.whl

Download URL flode-0.60.3-py3-none-any.whl
Size 1.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
d32f70961c0c64760af6548a99f0a33a420874be4f1a7215b2268da64b32032f
BLAKE2b-256 checksum
How to use checksums
429b6035214c74a4f4caf10786b037ed9d3a526260c9b6f95bac2dd6a40cd526
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 12, 2026.

Transparency log

Release history Release notifications | RSS feed

0.64.1

2 release files

0.64.0

2 release files

0.63.0

2 release files

0.62.0

2 release files

0.61.0

2 release files

This release

0.60.3 This release

2 release files

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