コード例 #1
0
    ReadParam(name='EXNAME',
              data_type='char',
              read_fn_key='COMMON_READ_FN_KEY',
              display_name="",
              description=textwrap.dedent("""\

        """))
]

read_param_dict = make_param_dict(read_params)

fn_param_dict = {
    'load_data_3': {
        'primaries': [
            WriteParam(name='i',
                       read_param='NUMBER',
                       base_param=read_param_dict['NUMBER']),
            WriteParam(name='id',
                       read_param='ID',
                       base_param=read_param_dict['ID'])
        ],
        'writables': [
            WriteParam(name='intgar1',
                       read_param='STATUS',
                       base_param=read_param_dict['STATUS']),
            WriteParam(name='intgar2',
                       read_param='AREA',
                       base_param=read_param_dict['AREA']),
            WriteParam(name='intgar3',
                       read_param='ZONE',
                       base_param=read_param_dict['ZONE']),
コード例 #2
0
ファイル: fxshunt.py プロジェクト: sbhowmik7/PSSEcompare
    ReadParam(name='EXNAME',
              data_type='char',
              read_fn_key='COMMON_READ_FN_KEY',
              display_name="",
              description=textwrap.dedent("""\

        """))
]

read_param_dict = make_param_dict(read_params)

fn_param_dict = {
    'shunt_data': {
        'primaries': [
            WriteParam(name='i',
                       read_param='NUMBER',
                       base_param=read_param_dict['NUMBER']),
            WriteParam(name='id',
                       read_param='ID',
                       base_param=read_param_dict['ID'])
        ],
        'writables': [
            WriteParam(name='intgar1',
                       read_param='STATUS',
                       base_param=read_param_dict['STATUS']),
            WriteParam(name='realar1',
                       read_param='SHUNTNOM',
                       data_type='real',
                       trns_fn=get_real,
                       base_param=read_param_dict['SHUNTNOM']),
            WriteParam(name='realar2',
コード例 #3
0
ファイル: wnd.py プロジェクト: sbhowmik7/PSSEcompare
        data_type='char',
        read_fn_key='COMMON_READ_FN_KEY',
        display_name="",
        description=textwrap.dedent("""\

        """)
        )
]

read_param_dict = make_param_dict(read_params)

fn_param_dict = {
    'three_wnd_winding_data_3':{
        'primaries':[
            WriteParam(name='i',
                read_param='WIND1NUMBER',
                base_param=read_param_dict['WIND1NUMBER']
                ),
            WriteParam(name='j',
                read_param='WIND2NUMBER',
                base_param=read_param_dict['WIND2NUMBER']
                ),
            WriteParam(name='k',
                read_param='WIND3NUMBER',
                base_param=read_param_dict['WIND3NUMBER']
                ),
            WriteParam(name='ckt',
                read_param='ID',
                base_param=read_param_dict['ID']
                ),
            WriteParam(name='warg',
                read_param='WNDNUM',
コード例 #4
0
ファイル: bus.py プロジェクト: sbhowmik7/PSSEcompare
    ),
ReadParam(name='EXNAME',
    data_type='char',
    read_fn_key=COMMON_READ_FN_KEY,
    display_name='extended name',
    description=textwrap.dedent("""\
            Extended bus name (18 characters).
            """)
    ),
]

read_param_dict = make_param_dict(read_params)

write_primary_list = [
    WriteParam(name='i',
        read_param='NUMBER',
        base_param=read_param_dict['NUMBER']
        ),
    ]

write_param_list = [
    WriteParam(name='name',
        read_param='NAME',
        base_param=read_param_dict['NAME']
        ),
    WriteParam(name='intgar1',
        read_param='TYPE',
        base_param=read_param_dict['TYPE']
        ),
    WriteParam(name='intgar2',
        read_param='AREA',
        base_param=read_param_dict['AREA']
コード例 #5
0
ファイル: swsh.py プロジェクト: sbhowmik7/PSSEcompare
        data_type='char',
        read_fn_key='COMMON_READ_FN_KEY',
        display_name="",
        description=textwrap.dedent("""\

        """)
        )
]

read_param_dict = make_param_dict(read_params)

fn_param_dict = {
    'switched_shunt_data_3':{
        'primaries':[
            WriteParam(name='i',
                read_param='NUMBER',
                base_param=read_param_dict['NUMBER']
                )
        ],
        'writables':[
            WriteParam(name='intgar1',
                read_param='STEPSBLOCK1',
                base_param=read_param_dict['STEPSBLOCK1']
                ),
            WriteParam(name='intgar2',
                read_param='STEPSBLOCK2',
                base_param=read_param_dict['STEPSBLOCK2']
                ),
            WriteParam(name='intgar3',
                read_param='STEPSBLOCK3',
                base_param=read_param_dict['STEPSBLOCK3']
                ),
コード例 #6
0
ファイル: brn.py プロジェクト: sbhowmik7/PSSEcompare
    ReadParam(name='NMETEREXNAME',
              data_type='char',
              read_fn_key='COMMON_READ_FN_KEY',
              display_name="",
              description=textwrap.dedent("""\

        """))
]

read_param_dict = make_param_dict(read_params)

fn_param_dict = {
    'branch_data': {
        'primaries': [
            WriteParam(name='i',
                       read_param='FROMNUMBER',
                       base_param=read_param_dict['FROMNUMBER']),
            WriteParam(name='j',
                       read_param='TONUMBER',
                       base_param=read_param_dict['TONUMBER']),
            WriteParam(name='ckt',
                       read_param='ID',
                       base_param=read_param_dict['ID'])
        ],
        'writables': [
            WriteParam(name='intgar1',
                       read_param='STATUS',
                       base_param=read_param_dict['STATUS']),
            WriteParam(name='intgar2',
                       read_param='METERNUMBER',
                       base_param=read_param_dict['METERNUMBER']),
コード例 #7
0
ファイル: mach.py プロジェクト: sbhowmik7/PSSEcompare
    ReadParam(name='EXNAME',
              data_type='char',
              read_fn_key='COMMON_READ_FN_KEY',
              display_name="",
              description=textwrap.dedent("""\

        """))
]

read_param_dict = make_param_dict(read_params)

fn_param_dict = {
    'machine_data_2': {
        'primaries': [
            WriteParam(name='i',
                       read_param='NUMBER',
                       base_param=read_param_dict['NUMBER']),
            WriteParam(name='id',
                       read_param='ID',
                       base_param=read_param_dict['ID'])
        ],
        'writables': [
            WriteParam(name='intgar1',
                       read_param='STATUS',
                       base_param=read_param_dict['STATUS']),
            WriteParam(name='intgar2',
                       read_param='OWN1',
                       base_param=read_param_dict['OWN1']),
            WriteParam(name='intgar3',
                       read_param='OWN2',
                       base_param=read_param_dict['OWN2']),
コード例 #8
0
ファイル: tr3.py プロジェクト: sbhowmik7/PSSEcompare
        """)),
    Parameter(name='SBASE3-1',
              data_type='real',
              display_name="",
              description=textwrap.dedent("""\

        """))
]

read_param_dict = make_param_dict(read_params)

fn_param_dict = {
    'three_wnd_impedance_data': {
        'primaries': [
            WriteParam(name='i',
                       read_param='WIND1NUMBER',
                       base_param=read_param_dict['WIND1NUMBER']),
            WriteParam(name='j',
                       read_param='WIND2NUMBER',
                       base_param=read_param_dict['WIND2NUMBER']),
            WriteParam(name='k',
                       read_param='WIND3NUMBER',
                       base_param=read_param_dict['WIND3NUMBER']),
            WriteParam(name='ckt',
                       read_param='ID',
                       base_param=read_param_dict['ID'])
        ],
        'writables': [
            WriteParam(name='name',
                       read_param='XFRNAME',
                       base_param=read_param_dict['XFRNAME']),
コード例 #9
0
    ReadParam(name='IREGEXNAME',
              data_type='char',
              read_fn_key='COMMON_READ_FN_KEY',
              display_name="",
              description=textwrap.dedent("""\

        """))
]

read_param_dict = make_param_dict(read_params)

fn_param_dict = {
    'plant_data': {
        'primaries': [
            WriteParam(name='i',
                       read_param='NUMBER',
                       base_param=read_param_dict['NUMBER'])
        ],
        'writables': [
            WriteParam(name='intgar1',
                       read_param='IREG',
                       base_param=read_param_dict['IREG']),
            WriteParam(name='realar1',
                       read_param='VSPU',
                       base_param=read_param_dict['VSPU']),
            WriteParam(name='realar2',
                       read_param='RMPCT',
                       base_param=read_param_dict['RMPCT'])
        ]
    }
}