modelTables
Application of tables
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
Description
This examples demonstrates how the variable resistance of an electric circuit can be set by means of a table.
Table data are taken from matrix parameter table.table.
Plot the following variable(s)
table.y[1]: output of tablevariableResistor.R_actual: actual resistance
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Inductance | L | 2 | Inductance |
| Modelica.Units.SI.Voltage | v | 20 | Total DC voltage |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Electrical.Analog.Basic.Ground | ground | ||
| Modelica.Electrical.Analog.Sources.ConstantVoltage | constantVoltage | ||
| Modelica.Electrical.Analog.Basic.Inductor | inductor | ||
| Modelica.Electrical.Analog.Basic.VariableResistor | variableResistor | ||
| Modelica.Blocks.Sources.CombiTimeTable | table |