First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
2015-10-08 07:15:18 -0500 | answered a question | Problem importing wx in PSSE Running your code in PSSE 33.5 gave a similar DLL error: NumPy could not load one of its DLLs. Changing the import order(import psspy first) solved this problem for me: |
2015-06-17 03:52:13 -0500 | answered a question | Create User dll and access it in PSS/E The structure of your fortran (.f) model files can be found in Chapter 18 (dynamic simulation setup and procedures) and 20 (model writing) of the Program Operation Manual. Compilation is explained by jconto and should work if you have the correct Intel Fortran compilers. Inclusion into the dynamic simulation of PSSE also requires the model parameters to be defined inside a .dyr file. The structure of this file for user-written models is given in Chapter 18.1 of the POM. |
2014-11-28 06:31:13 -0500 | received badge | ● Editor (source) |
2014-11-28 06:26:00 -0500 | commented answer | dynamics - variables - time Dear Javier, The internal arrays like STATE and STORE are overwritten by the simulation routine when the time advances one step. See CH 12-13 of the program application guide for more info. If you select an element from e.g. STATE as an output, the results will be stored in a separate output array. |
2014-11-28 05:49:41 -0500 | received badge | ● Teacher (source) |
2014-11-28 03:10:51 -0500 | answered a question | dynamics - variables - time I presume you'll need them for inside a dynamic model and not for generating the simulation output. As far as I know, PSSE doesn't offer functionality for using variables from previous time steps in dynamics models. However, many internal variables are based on previous calculation steps (e.g. STATE, STORE), so you could use them to regenerate the variable you want at t-T. This only allows you to use the previous time step, so t-DELT Alternatively you could as you already mentioned generate a data structure (e.g. ring buffer) inside the VAR array. The http://en.wikipedia.org/wiki/Circular_buffer (wiki) on circular buffers could be a good starting point. Be careful about how and at which moment in the integration routine the values inside this buffer are set, because the models are called multiple times per time-step or even multiple times per specific MODE. |