First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!

Ask Your Question
0

Insert buses from a raw file

asked Sep 21 '18

rafaels100 gravatar image

Hello ! We are trying to add a raw file (which have some buses) to a case that already has data, without having to create every new bus by hand.

We used the activity RDCH to try to achieve this, but it didnt attached the new buses. We believe that is so because this activity only attachs branches and loads to the buses that are already in the system, and have the same ID.

Is there an activity or a python function to append the buses ?

Thanks !

1 answer

Sort by » oldest newest most voted
0

answered Sep 21 '18

perolofl gravatar image

It seems like you have misunderstood how RDCH works. A RDCH-file don't have the first three lines of a raw data file, i.e. the first record in a RDCH file shall be the first bus record. You shall not read a raw data file including case identification data with activity RDCH.

An alternative is to read a raw data file with IC=1, which will add the data of the file to the working files. Make sure that the first line in the file starts with 1 and read the raw data file with READ (not with RDCH).

link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.
Want to format code in your answer? Here is a one minute demo on Youtube

Add Answer

[hide preview]

Question Tools

2 followers

Stats

Asked: Sep 21 '18

Seen: 1,279 times

Last updated: Sep 21 '18