API Reference / validateSyntheticSystem · function
Function: validateSyntheticSystem()
function validateSyntheticSystem(sys): SyntheticDiagnosis;
Check an authored system for the ways it can be ill-defined — duplicate ids, a
dangling observer, non-positive periods, or out-of-range eccentricity — and
report each, in the impossible/residual honesty style. Pure.
Parameters
| Parameter | Type | Description |
|---|---|---|
sys | SyntheticSystem | The system to check. |
Returns
A SyntheticDiagnosis; impossible is true when any problem
is found.