| Simscape™ | ![]() |
Electrical Elements
The Capacitor block models a linear capacitor, described with the following equation:
![]()
where
| I | Current |
| V | Voltage |
| C | Capacitance |
| t | Time |
The Initial voltage parameter sets the initial voltage across the capacitor.
Note This value is not used if the solver configuration is set to Start simulation from steady state. |
The Series resistance and Parallel conductance parameters represent small parasitic effects. The parallel conductance directly across the capacitor can be used to model leakage current per volt. The series resistance can be used to represent component internal resistance. Simulation of some circuits may require the presence of the small series resistance. For more information, see Modeling Best Practices.
Connections + and – are conserving electrical ports corresponding to the positive and negative terminals of the capacitor, respectively. The current is positive if it flows from positive to negative, and the voltage across the capacitor is equal to the difference between the voltage at the positive and the negative terminal, V(+) – V(–).

Capacitance, in farads. The default value is 1 µF.
Initial voltage across the capacitor. This parameter is not used if the solver configuration is set to Start simulation from steady state. The default value is 0.
Represents small parasitic effects. The series resistance can be used to represent component internal resistance. Simulation of some circuits may require the presence of the small series resistance. The default value is 1 µΩ.
Represents small parasitic effects. The parallel conductance directly across the capacitor can be used to model leakage current per volt. The default value is 0.
The block has the following ports:
Electrical conserving port associated with the capacitor positive terminal.
Electrical conserving port associated with the capacitor negative terminal.
![]() | AC Voltage Source | Conductive Heat Transfer | ![]() |
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |