Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I used the record function and entered in some random parameters for a VTGDCAT model. Here is the code generated by PSSE:

psspy.add_cctmsco_model(r"""VTGDCAT""",_i,3,[0,0,0],["","",""],4,[0.0,0.0,0.0,0.0])
psspy.change_cctmscomod_con(r"""VTGDCAT""",_i,1, 0.8)
psspy.change_cctmscomod_con(r"""VTGDCAT""",_i,2, 1.2)
psspy.change_cctmscomod_con(r"""VTGDCAT""",_i,3, 1.0)
psspy.change_cctmscomod_con(r"""VTGDCAT""",_i,4, 0.0833)
psspy.change_cctmscomod_icon(r"""VTGDCAT""",_i,2,123456)
psspy.change_cctmscomod_icon(r"""VTGDCAT""",_i,3,1)

I used the record function and entered in some random parameters for a VTGDCAT model. Here is the code generated by PSSE:

psspy.add_cctmsco_model(r"""VTGDCAT""",_i,3,[0,0,0],["","",""],4,[0.0,0.0,0.0,0.0])
psspy.change_cctmscomod_con(r"""VTGDCAT""",_i,1, 0.8)
psspy.change_cctmscomod_con(r"""VTGDCAT""",_i,2, 1.2)
psspy.change_cctmscomod_con(r"""VTGDCAT""",_i,3, 1.0)
psspy.change_cctmscomod_con(r"""VTGDCAT""",_i,4, 0.0833)
psspy.change_cctmscomod_icon(r"""VTGDCAT""",_i,2,123456)
psspy.change_cctmscomod_icon(r"""VTGDCAT""",_i,3,1)

I assume you could forgo the "change" APIs if you included the parameters in the "add" arguments.