.Buildings.Electrical.DC.Lines.Examples.RCModel

Information

This model shows how to use a two port resistance-capacitance model. The example also shows a comparison between the dynamic and steady state version model that can be selected by changing the boolean flag use_C.

In this example the RC connects an ideal constant voltage source with a short circuit. The steady state current value passing through the RC model depends just on the value of R.

The RC model implement a T-model to represent the electric connection between the two connectors (see Buildings.Electrical.DC.Lines.TwoPortRCLine for more details).

The capacitance C see an equivalent Thevenin's resistance that is equal to REQ = 0.5 R and thus the time constant associated to the capacitance is

τ = REQ C = 0.5 R C = 2 seconds,

thus the duration of transient period is about 10 seconds.

Revisions


Generated at 2024-05-17T18:15:58Z by OpenModelicaOpenModelica 1.22.4 using GenerateDoc.mos