modelTables

Application of tables
Diagram 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 table
  • variableResistor.R_actual: actual resistance

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.InductanceL2Inductance
Modelica.Units.SI.Voltagev20Total DC voltage

Components

TypeNameDefaultDescription
Modelica.Electrical.Analog.Basic.Groundground
Modelica.Electrical.Analog.Sources.ConstantVoltageconstantVoltage
Modelica.Electrical.Analog.Basic.Inductorinductor
Modelica.Electrical.Analog.Basic.VariableResistorvariableResistor
Modelica.Blocks.Sources.CombiTimeTabletable