-
Notifications
You must be signed in to change notification settings - Fork 0
SimulinkModel
#Running NPSS from Within Matlab
The Matlab code consists of a four setup files that either call the 150 PAX or 300 PAX engine. Since there are two ways to run the transient NPSS model, there are two separate matlab functions that execute each type of NPSS run.
| Passenger Class | Schedule-Based Time Step Run | Single Time Step Transient Run |||- | 150 PAX | run150.m | run150step.m | 300 PAX | run300.m | run300step.m
The batch file execution script for each run type is as follows,
| | Schedule-Based Time Step Run | Single Time Step Transient Run |||- | NPSS execution function | run_npss.m | run_single_npss.m
The "run_single_npss" is also run inside the embedded function found in the simulink model, taking input signal from the upstream component at every time step.