Navigation

Operators and Keywords

Function List:

C++ API

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

SBN file implementing models for current sources.

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

  1. string = "DC" (Static indipendent current source)
    • - I -> Current source value
  2. string = "VCCS" (Voltage controlled current source)
    • - K -> Control parameter
  3. string = "sinwave" (Sinusoidal indipendent current source)
    • - shift -> mean value of sinusoidal input
    • - Ampl -> amplitude of sinusoidal wave
    • - f -> frequency of sinusoidal wave
    • - delay -> delay of sinusoidal wave
  4. string = "VCPS" (Voltage controlled power source)
    • - K -> Control parameter

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

See also: prs_iff,asm_initialize_system,asm_build_system.

Package: ocs