A MoonBit interface to FMI-compliant FMUs.
moon add MuVirus/fmigit clone https://github.com/MuVirus/MoonFMI.git
cd MoonFMI
moon build --target nativemoon run tests/data/fetch-fmus.mbtx --target nativemoon run cmd/main --target native -- simulate tests/data/.cache/fmi2/BouncingBall.fmu \
--stop-time 3 --step-size 0.01 --output ball.csvmoon run cmd/main --target native -- validate tests/data/.cache/fmi2/BouncingBall.fmu
moon run cmd/main --target native -- info tests/data/.cache/fmi2/BouncingBall.fmumoon run cmd/main --target native -- simulate tests/data/.cache/fmi2/VanDerPol.fmu \
--interface me --solver rk4 --stop-time 5 --output vdp.csvmoon run cmd/main --target native -- package build/MyModel --output MyModel.fmu