Hi all, the following code
model oscillator Modelica.Electrical.Analog.Basic.Capacitor capacitor1; Modelica.Electrical.Analog.Sources.SineVoltage sinevoltage1; Modelica.Electrical.Analog.Basic.Inductor inductor1; Modelica.Electrical.Analog.Basic.Ground ground1; equation connect(inductor1.n,ground1.p); connect(capacitor1.p,inductor1.p); connect(sinevoltage1.p,capacitor1.p); connect(capacitor1.n,sinevoltage1.n); connect(capacitor1.n,inductor1.n); end oscillator; throws a lookup error (sinevoltage1.freqHz, sineVoltage1.V) with omc (current trunk) although the flattened output contains the lines: parameter Real sinevoltage1.V(quantity = "ElectricPotential", unit = "V", start = 1.0) "Amplitude of sine wave"; parameter Real sinevoltage1.phase(quantity = "Angle", unit = "rad", displayUnit = "deg") = 0.0 "Phase of sine wave"; parameter Real sinevoltage1.freqHz(quantity = "Frequency", unit = "Hz", start = 1.0) "Frequency of sine wave"; Any ideas how to circumvent? best regards, Christoph
signature.asc
Description: This is a digitally signed message part
