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

ParameterTypeDescription
sysSyntheticSystemThe system to check.

Returns

SyntheticDiagnosis

A SyntheticDiagnosis; impossible is true when any problem is found.

Start building

Quickstart →