WOLFRAM SYSTEM MODELER
ElectricCircuitA component based model of an electrical circuit |
SystemModel["IntroductoryExamples.ComponentBased.ElectricCircuit"]
This is a component based implementation of the electric circuit described and implemented using blocks here.
A simulation of the model gives the same result as for the block based version:
This example shows the benefit of using components rather than blocks.
For a step by step tutorial see Component-Based—Simple Circuit.
sineVoltage1 |
Type: SineVoltage Description: Sine voltage source |
|
---|---|---|
ground1 |
Type: Ground Description: Ground node |
|
resistor1 |
Type: Resistor Description: Ideal linear electrical resistor |
|
capacitor1 |
Type: Capacitor Description: Ideal linear electrical capacitor |
|
inductor1 |
Type: Inductor Description: Ideal linear electrical inductor |
|
resistor2 |
Type: Resistor Description: Ideal linear electrical resistor |
IntroductoryExamples.ComponentBased A component based model of an electrical circuit with an additional component |