ModSimLib
ModSimLib is a Javascript framework that can be used to build, for educational purposes, simple user interfaces with controls, indicators and diagrams. The aim is to facilitate the representation of physical and technical systems, particularly in the field of electrical engineering.
Controls include:
- Sliders
- Switches
Indicators include:
- Analog and digital meters (Voltmeters, Ammeters…)
- Indicators of power/energy flow
- Phasor diagrams
- Indicators of current flow with moving colored dots. Insipred by Paul FALSTAD circuit simulator
- Curve plotting with Flot
Others:
- A small ordinary differential equation (ODE) solver
Getting Started
Examples
- Basic examples of control and indicators
- Simulate a photovoltaic module
- Power factor correction
- DC motor in an electric vehicule
Prerequisites
The following libraries are required:
- Konva.js: for most controls and indicators
- sprintf.js: used to format values
- Flot: for curve plotting
- JQuery: used by Flot