Ask Your Question

Shri's profile - activity

2023-01-09 00:13:28 -0500 received badge  Enthusiast
2019-11-22 06:50:20 -0500 received badge  Famous Question (source)
2019-10-31 03:11:28 -0500 received badge  Notable Question (source)
2019-10-29 11:59:18 -0500 received badge  Popular Question (source)
2019-10-29 01:42:10 -0500 asked a question "No network data in memory" error while running a script. Is there a fix for it?

Here is my script, not sure why it is not picking up the model.

import time

import psse34

import os,sys

import psspy

import redirect

import glob

import numpy as np

import pandas as pd

timestr = time.strftime("%Y%m%d_%H%M%S")

base_dir = 'C:\Users\Desktop\Load flow'

input_files_dir = 'C:\Users\Load flow\02_sav_case'

output_files_dir = 'C:\Users\Load flow\03_Results'


cwd = os.getcwd()

print ('\nScript running in the working directory:\n%s' % cwd)


_i=psspy.getdefaultint()

_f=psspy.getdefaultreal()

_s=psspy.getdefaultchar()

redirect.psse2py()

psspy.psseinit(80000)


os.chdir(base_dir)

case_name = ['RProponent model)_max_VRR_v1.sav']

suffix = ['High_Load']


def remove_SF():

    psspy.machine_chng_2(30313,r"""1""",[_i,_i,_i,_i,_i,_i],[ 20.0,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f])

    psspy.machine_chng_2(30312,r"""1""",[_i,_i,_i,_i,_i,_i],[ 20.0,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f,_f])

    psspy.fnsl([1,0,0,1,1,0,0,0])

    psspy.fnsl([1,0,0,1,1,0,0,0])

    psspy.fnsl([1,0,0,1,1,0,0,0])

    psspy.fnsl([1,0,0,1,1,0,0,0])

Error MSG:

           SIEMENS POWER TECHNOLOGIES INTERNATIONAL

      80000 BUS POWER SYSTEM SIMULATOR--PSS(R)E-34.4.0

             INITIATED ON TUE, OCT 29 2019  17:50

 Messages for api FNSL
 No network data in memory   (005188)

 Messages for api FNSL
 No network data in memory   (005188)

 Messages for api FNSL
 No network data in memory   (005188)

 Messages for api FNSL
 No network data in memory   (005188)

 Messages for api FNSL
 No network data in memory   (005188)
[None]
[None, None]
[None, None, None]
[None, None, None, None]
[None, None, None, None, None]
[None, None, None, None, None, None]
[None, None, None, None, None, None, None]
[None, None, None, None, None, None, None, None]
[None, None, None, None, None, None, None, None, None]
[None, None, None, None, None, None, None, None, None, None]
[None, None, None, None, None, None, None, None, None, None, None]
[None, None, None, None, None, None, None, None, None, None, None, None]
[None, None, None, None, None, None, None, None, None, None, None, None, None]
[None, None, None, None, None, None, None, None, None, None, None, None, None, None]
2019-10-14 17:03:28 -0500 received badge  Famous Question (source)
2019-10-06 22:15:32 -0500 received badge  Notable Question (source)
2019-10-03 03:59:05 -0500 commented answer Is there a way to perform load shedding for the entire network?

Thanks Perolofl!

2019-10-03 03:58:10 -0500 received badge  Popular Question (source)
2019-10-01 01:36:02 -0500 received badge  Editor (source)
2019-09-30 23:30:59 -0500 asked a question Is there a way to perform load shedding for the entire network?

There are multiple loads (assume 1000 load buses) in my network and I want to simulate a 30% reduction in load for the entire network. Can some one please suggest me a way to do it. Thanks.

Note: When I tried to scale it down, the whole network crashes (blow up).