ansys.dyna.core.pre.dynaem.Circuit#
- class ansys.dyna.core.pre.dynaem.Circuit(loadcurve, circuit_type=CircuitType.IMPOSED_CURRENT_VS_TIME)#
Defines an electrical circuit.
- Parameters:
- circtyp
int Circuit type. Options are:
EQ.1: Imposed current vs time defined by a load curve
EQ.2: Imposed voltage vs time defined by a load curve
- loadcurve
Curve Load curve for when the
circtypparameter is set to1,2,21or22.
- circtyp
- stub#
- circuit_type = 1#
- lcid#
- set_current(current, current_inlet, current_outlet)#
Define the segment set for the current.
- Parameters:
- current
SegmentSet Segment set for the current.
- current_inlet
SegmentSet Segment set for input voltage or input current for CIRCTYP.EQ.2/3/12/22 and CIRCTYP.EQ 1/11/21 respectively.
- current_outlet
SegmentSet Segment set for the output voltage or output current for CIRCTYP = 2/3/12/22 and CIRCTYP = 1/11/21 respectively.
- current
- create()#
Create a circuit.