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']),
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',
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',
), 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']
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'] ),
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']),
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']),
""")), 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']),
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']) ] } }