Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RTPR fail for TAMU 500 bus system #212

Open
bjpalmer opened this issue Apr 22, 2024 · 6 comments
Open

RTPR fail for TAMU 500 bus system #212

bjpalmer opened this issue Apr 22, 2024 · 6 comments
Assignees

Comments

@bjpalmer
Copy link
Contributor

I ran a quick test of the RTPR code to see if it still works. The 14 bus test case is fine but the TAMU 500 bus test case fails immediately. This may have implications beyond RTPR. The error that is getting thrown is coming from the Cblock class setcoeffs method and is occurring because the esst1a model is somehow setting the Tf variable to zero between the time it is read in from the dyr file to the time the setcoeffs function is called in Esst1aModel::init. I think there may be a memory corruption problem in the dynamic simulation module.

@bjpalmer
Copy link
Contributor Author

@abhyshr, @yliu250, @chenyousu, do you know how to run the TAMU 500 files in the RTPR directory as a standalone dynamic simulation? I'd like to use valgrind on it to see if there is a memory corruption issue.

@wperkins
Copy link
Member

I think this is the same problem I reported with the TAMU 500 data files used to test the Python HADREC application (#198).

@bjpalmer
Copy link
Contributor Author

bjpalmer commented May 1, 2024

I tried running dynamic simulation standalone code using the case9.raw file and the case9_GENSAL_ESST1A.dyr file. I used the input_9b3g.xml file and just replace the initial configuration and dyr files with these two files. This throws the same error running on 1 or 2 processors.

@abhyshr
Copy link
Collaborator

abhyshr commented May 1, 2024

Need the error and the parameters in the dyr file to debug.

@bjpalmer
Copy link
Contributor Author

bjpalmer commented May 1, 2024

The raw file and dyr file are both available in applications/data_sets directory. The input file was hacked from the input_9b3g.xml file (also available from the data_sets directory) by replacing the original raw and dyr file by the case9.raw and case9_GENSAL_ESST1A.dyr files. The error is an exception being thrown in the Cblock::setcoeffs method, which is called by the LeadLag::setparams method.

I made a mistake thinking setcoeffs was was being called in the init method with the value Tf. It is instead being called in the setparams method. The problem looks like the Tc or Tc1 variable is zero and this is triggering the exception. It doesn't look like a memory issue at this point, but more like a straightforward modeling problem.

@bjpalmer
Copy link
Contributor Author

bjpalmer commented Jul 9, 2024

This is still an issue. It is a problem for running the dynamic simulation test files for individual devices.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants