blockAdda
AD/DA conversion
Extends from Modelica.Blocks.Interfaces.DiscreteBlock (Base class of discrete control blocks), MagLev.Control.BaseBlocks.Adda (AD/DA conversion).
Information
Models the AD/DA-conversion as sample-hold elements.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Time | samplePeriod (from DiscreteBlock) | Sample period of component | |
| SI.Time | startTime (from DiscreteBlock) | 0 | First sample time instant |
| SI.Voltage | vBat0 (from Adda) | Initially measured source voltage | |
| SI.Voltage | vRef0 (from Adda) | Initial reference voltage to DC/DC | |
| SI.Current | i0 (from Adda) | Initially measured coil current |
Connectors
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Discrete.Sampler | sample1 | ||
| Modelica.Blocks.Discrete.ZeroOrderHold | hold1 | ||
| Modelica.Blocks.Discrete.Sampler | sample2 |