23.01.2015 Views

Download - Wolfram Research

Download - Wolfram Research

Download - Wolfram Research

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

246 3. Reference Manual<br />

Now we use TEMP as independent variable. This causes the time derivative due to C1 to be set to<br />

zero and Time to be replaced by the value of InitialTime.<br />

Designate temperature as<br />

independent variable.<br />

In[28]:= CircuitEquations[tempckt, AnalysisMode −> Transient,<br />

IndependentVariable −> TEMP] // DisplayForm<br />

Out[28]//DisplayForm=<br />

V$1TEMP V$2TEMP<br />

I$V1TEMP <br />

⩵⩵ 0,<br />

1 TC11 TEMP R10<br />

V$2TEMP V$1TEMP V$2TEMP<br />

<br />

<br />

⩵⩵ 0, V$1TEMP ⩵⩵<br />

1 TC12 TEMP R20 1 TC11 TEMP R10<br />

V1, V$1TEMP, V$2TEMP, I$V1TEMP, DesignPoint <br />

This assigns an initial<br />

condition to the inductor<br />

L1.<br />

In[29]:= rlcfic = Netlist[<br />

{V1, {1, 0}, V},<br />

{R1, {1, 2}, R},<br />

{L1, {2, 3}, Value −> L, InitialCondition −> iL0},<br />

{C1, {3, 0}, C}<br />

]<br />

Out[29]= NetlistRaw, 4 <br />

By default, initial conditions are ignored by CircuitEquations. To use the given initial conditions,<br />

you must specify InitialConditions −> Automatic or InitialConditions −> All.<br />

Set up circuit equations<br />

for transient analysis.<br />

In[30]:= CircuitEquations[rlcfic,<br />

AnalysisMode −> Transient] // DisplayForm<br />

Out[30]//DisplayForm=<br />

V$1t V$2t<br />

I$V1t ⩵⩵ 0,<br />

R<br />

V$1t V$2t<br />

I$L1t ⩵⩵ 0, I$L1t C V$3 ′ t ⩵⩵ 0,<br />

R<br />

V$1t ⩵⩵ V, V$2t V$3t L I$L1 ′ t ⩵⩵ 0,<br />

V$1t, V$2t, V$3t, I$V1t, I$L1t, DesignPoint <br />

Use initial conditions only<br />

where specified explicitly.<br />

Use given initial<br />

conditions, set all other<br />

initial conditions to zero.<br />

In[31]:= CircuitEquations[rlcfic, AnalysisMode −> Transient,<br />

InitialConditions −> Automatic] // DisplayForm<br />

Out[31]//DisplayForm=<br />

V$1t V$2t<br />

I$V1t ⩵⩵ 0,<br />

R<br />

V$1t V$2t<br />

I$L1t ⩵⩵ 0, I$L1t C V$3 ′ t ⩵⩵ 0,<br />

R<br />

V$1t ⩵⩵ V, V$2t V$3t L I$L1 ′ t ⩵⩵ 0, I$L10 ⩵⩵ iL0,<br />

V$1t, V$2t, V$3t, I$V1t, I$L1t, DesignPoint <br />

In[32]:= CircuitEquations[rlcfic, AnalysisMode −> Transient,<br />

InitialConditions −> All] // DisplayForm<br />

Out[32]//DisplayForm=<br />

V$1t V$2t<br />

V$1t V$2t<br />

I$V1t ⩵⩵ 0, I$L1t ⩵⩵ 0,<br />

R<br />

R<br />

I$L1t C V$3 ′ t ⩵⩵ 0, V$1t ⩵⩵ V,<br />

V$2t V$3t L I$L1 ′ t ⩵⩵ 0, I$L10 ⩵⩵ iL0, V$30 ⩵⩵ 0,<br />

V$1t, V$2t, V$3t, I$V1t, I$L1t, DesignPoint

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!