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

Ask Your Question
1

Convention for adding code comments to PSS/E data files? (.raw, .dyr, etc)

asked Oct 8 '13

wassup_doc gravatar image

Hello all, (I am working in PSS/E 33 on Windows 7)

Pretty simple question here. I am new to PSS/E, and I could not seem to find this info anywhere in the manuals or online: Is there a uniform method for adding comments to PSS/E input files (such as .raw or .dyr) such that the compiler will ignore them? (ie python = #Comment here matlab = //comment here .....) If it matters, I am not creating these files in the GUI. I am directly coding them in a text editor.

I did find the TEXT api command, but the documentation states that this is only for "response files," "progress output," and "recording files." From my understanding these files are only output files of PSS/E.

Thanks so much for any insight.

Comments

@yfwing -- Not sure why I cannot comment on your answer, but thanks. I noticed that convention in other files, but was not sure if it applied to all file extensions. I was able to load my .dyr file after doing that. I would upvote your answer, but I do not have the "Karma" yet...

wassup_doc gravatar imagewassup_doc (Oct 8 '13)

1 answer

Sort by » oldest newest most voted
4

answered Oct 8 '13

yfwing gravatar image

The comment starts with '/'. You can put '/' anywhere you would like to add comments. The contents between '/' and end-of-line (EOL) will be ignored.

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

Stats

Asked: Oct 8 '13

Seen: 3,635 times

Last updated: Oct 07 '13