Navigation

Operators and Keywords

Function List:

C++ API

Function File: [a,b,c]= Mresistors( string,parameters,parameternames,extvar,intvar,t)

SBN file implementing models for resistors.

string is used to select among models. Parameters are listed as inner items. Possible models are:

  1. string = "LIN" (Linear resistor)
    • - R -> resistance value
  2. string = "THERMAL" (Linear resistor with termal pin)
    • - R0 -> reference resistance value at temperature TNOM
    • - TC1 -> coefficient for first order Taylor expansion
    • - TC2 -> coefficient for second order Taylor expansion
    • - TNOM -> reference temperature
  3. string = "THERMAL1D" (1D Thermal resistor)
    • - L -> length of 1D domain
    • - N -> number of discretized elements
    • - cv -> PDE coefficient for dynamic part
    • - k -> PDE coefficient for diffusion part

See the IFF file format specifications for details about the output structures.

See also: prs_iff,asm_initialize_system,asm_build_system.

Package: ocs