-
Notifications
You must be signed in to change notification settings - Fork 12
Intro_Course_6_2
Once you get past any initialization errors, it’s time to check that the network is propagating properly.
First, a summary of the standard objects in all GunnsDraw-generated networks, by the name you’ll find them in Trick View (TV):
- netNodes: This is the array of nodes in the network. The array numbers from 0 to the number of normal nodes in the network, and the last index is always the Ground node.
- netSolver: This is the network solver.
- netConfig & netInput: Once the sim is up and you can see these on TV, they’ve already been used and their values internalized in the network objects, so changing these in TV won’t do anything. However these are still useful as a reference to see the config & input values used by the network.
Go to RUN (“Start” button from the Trick Sim Control panel, etc.).
Check the H&S log for errors during RUN. Most problems are caught during initialize, but some won’t be caught until you go to RUN.
Check that the solver is propagating the network: netSolver.mMajorStepCount is incrementing at the cycle rate of the network. Also, netSolver.mDecompositionCount should be increasing unless the network is completely at steady-state (which almost never happens).
Check node potentials (netNodes[x].mPotential) for reasonableness and expected behavior. For fluid networks, also check:
- Node temperatures for reasonableness (netNodes[x].mContent.mTemeparature)
do about them. - Pressure corrections (netNodes[x].mPressureCorrection) should normally be < 1 kPa. See fluid state error for the causes and solutions to excessive pressure corrections.