Skip to content
jcchin edited this page Jul 16, 2014 · 2 revisions

Return to Wiki Home


NPSS File Organization

150 Pax

  • input - Contains input variables to intialize the engine, these can be generated by Matlab, or directly within NPSS.
  • maps - Contains turbomachinery performance maps
  • output - Contains all code output
  • run - Contains NPSS run files
  • src - Contains all model files, and solver setup functions.
  • viewers - Contains all viewer files, which create the output code.
  • .gitignore - Contains rules for files to be ignored by version control (git)
  • runnpssV165C.bat - Working setup batch file

300 Pax

(same as 150 Pax)

Wiki

  • Home.md - File holding this wiki
  • .gitmodule - Specifies submodule directories for version control (git)

Matlab File Organization

  • NPSSdata - Output from NPSS that is copied into the Matlab workspace.
  • NPSStransient.slx - Simulink Model running single-step NPSS at every time step
  • run_npss.m - This functions converts schedules defined in run150.m and run300.m into NPSS input files, runs NPSS for the entire schedule then returns the result.
  • run_single_npss.m - Similar to run_npss, but only runs NPSS for a single time step.
  • run150.m - Defines a throttle schedule and runs the 150PAX engine for the entire profile.
  • run150step.m - Runs the 150PAX engine for a single step, reading in new inputs each time. This function can be run repeatedly to generate a full transient profile.
  • run300.m - Defines a throttle schedule and runs the 300PAX engine.
  • setStruct.m - Custom function allowing structures to concatenated easily, which makes saving the engine output every time step slightly easier.

Clone this wiki locally