lems
codegen.lems
LEMS-Generator Create LEMS model from TVB-O.
Functions
| Name | Description |
|---|---|
| setup_lems_model | Create a LEMS model preloaded with base dimensions and units. |
setup_lems_model
codegen.lems.setup_lems_model()Create a LEMS model preloaded with base dimensions and units.
Builds an empty lems.Model and registers the physical dimensions (voltage, time, current) and their SI-prefixed units (second, milliVolt, milliSecond, milliAmpere) that TVB-O component definitions are expressed in.
Returns
| Name | Type | Description |
|---|---|---|
| The initialized LEMS model ready to have components added to it. |