Ask Your Question
0

User model initialization

asked 2019-10-15 03:05:45 -0500

MadjeIST gravatar image

Hello,

I am writing a user model and would like to be able to run load flows within the same time step during dynamic simulation.

Basically I would like to call the load flow engine at will to see where the model convergence is within the same timestep.

Thank you

edit retag flag offensive close merge delete

Comments

The title "initialization" does not correspond to the question. What do you mean with model convergence? Do you mean network convergence? Do you want the model to check the convergence at each time step?

perolofl gravatar imageperolofl ( 2019-10-15 05:21:18 -0500 )edit

Hi perolofl please see my comment in the answer part. It is a bit long it doesn't fit in the comment box.

MadjeIST gravatar imageMadjeIST ( 2019-10-15 05:56:19 -0500 )edit

1 answer

Sort by » oldest newest most voted
0

answered 2019-10-15 05:55:01 -0500

MadjeIST gravatar image

Hi Perolofl,

Initialization does belong to the title because that is what I need.

I'll try to clarify the question.

When a user model is initialized it will go through Mode 4 then mode 1, mode 2 and exit after mode 3.

Inside Mode 3 I have various Propotional Integrators (PIs) responses that have to go to the correct position and in my case I have to estimate the correct voltage to bring those PIs to the correct position.

To do that I go through various loops within the same timestep in Mode 3 and so it doesn't inject any currents back to the network.

That brings to my problem because I would like to inject the currents that the model calculates into the network but without moving to the next time step.

You are correct, I would like to solve the network and check the convergence within the same timestep. I say this because I don't need to do that when I run the dynamic model just when I initialize it.

Is this a bit clearer?

Thanks

edit flag offensive delete link more

Comments

Why do you need loops to calculate the initial value of the STATE? Don't you know the output signal of the PI-block? What do you mean with "estimate the correct voltage"?

perolofl gravatar imageperolofl ( 2019-10-15 08:46:09 -0500 )edit

Hi Perolofl, Unfortunately I cannot share why I need to calculate the initial value of the state. I don't know the output of the PI at its start because the value that I inject in the network is a result of various non linear equations. I would need to estimate the correct voltage because that is

MadjeIST gravatar imageMadjeIST ( 2019-10-21 08:00:31 -0500 )edit

the input of the model and it could drive the PIs result.

MadjeIST gravatar imageMadjeIST ( 2019-10-21 08:00:53 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

1 follower

Stats

Asked: 2019-10-15 03:05:45 -0500

Seen: 453 times

Last updated: Oct 15 '19