Super basic user written dynamics model example

asked 2020-10-29 15:08:48 -0500

likethevegetable gravatar image

updated 2020-10-29 15:10:33 -0500

Hi all, I'm trying to learn how to build my own table-driven dynamics model, and it's very daunting to get started. I feel that I would learn the best from an incredibly simple example.

Basically, I'm requesting if someone is willing to help out by writing all of the necessary FORTRAN to build a dynamics model that could:

Check if a bus (hard-coded, say 999) voltage falls below 0.9 pu, instantaneously trip a branch (hard-coded, say 999 to 888 ckt "1"), and print out to the PSSE output that it was tripped. If bus voltage is above, do nothing

Is anyone up for the challenge?

If someone wants to take it a step further, then allow the model to accept the bus numbers as input ICONS, put the tripped status as a VAR.

edit retag flag offensive close merge delete


Have you read the Chapter "Model Writing" in POM?

perolofl gravatar imageperolofl ( 2020-11-01 15:25:46 -0500 )edit

I have been thoroughly reading it and used jconto's example as a guide. I think from a learning perspective starting from a minimal example, then building up is the best way to learn, hence the request. I'm looking into building a miscellaneous model here. Thanks!

likethevegetable gravatar imagelikethevegetable ( 2020-11-01 15:29:23 -0500 )edit

Well, then you are on the way to learn how to write a user model and have already seen examples on model code. It is a good idea to try yourself. If you have specific question you can raise them here, but it is better to not ask for a complete solution.

perolofl gravatar imageperolofl ( 2020-11-01 15:38:06 -0500 )edit

Unfortunately, there's no specific example for miscellaneous models, and the information presented in the POM is too much IMO for a first example. I figured a more experienced person would be willing to contribute a small amount of work, I image less than 10 minutes worth.

likethevegetable gravatar imagelikethevegetable ( 2020-11-01 16:39:39 -0500 )edit

I took a stab at it, please see my other question.

likethevegetable gravatar imagelikethevegetable ( 2020-11-02 08:34:39 -0500 )edit