CalculateRoadwayScenario
Assess one scenario with one loaded IntensityModel. No designer, calculator page or rendered view is opened.
Undo support: No. Live scenario and photometry data are not modified.
Syntax
CalculateRoadwayScenario <scenarioId> <intensityModelId> <mode> [flux]
| Mode | Behaviour |
|---|---|
| LUMINAIREFLUX | Use the photometry's integrated output luminous flux. |
| MINIMUMFLUX | Use the calculator's Lav/Eav requirement scaling, including its 0.1% margin. This does not guarantee that other criteria pass. |
| LAMPFLUX | Require a lamp flux argument in lumens; output flux is lamp flux multiplied by LOR. |
| FIXEDFLUX | Require an output flux argument in lumens. |
Only LAMPFLUX and FIXEDFLUX accept a flux argument. It must be finite, positive and no greater than 1e12 lm. Zero-output photometry is rejected.
CalculateRoadwayScenario 2 12 MINIMUMFLUX
CalculateRoadwayScenario 2 12 FIXEDFLUX 5000
Response
HTTP waits for completion and returns a JSON object containing:
scenarioId,modelId,mode,orientation(EU/US), andeffectiveFluxin lumens.passed: whether all returned assessments passed; false if none were assessed.reports: element number, standard name, pass/fail, and criteria.- Each criterion:
name,actual,required,hasRequirement,passed,note. Informational criteria are included with a null requirement. glare:G,GStarandDclassifications. Unavailable classes are null;glareUnavailableReasonexplains an unavailable classification.
Results use the same evaluation service as the calculator page, without display rounding. Non-finite results are represented as null, not zero or JSON NaN.
Inputs are captured when the command starts. Editing or removing a scenario while it runs does not change its snapshot. Calculations run in the background; application close cancels pending delivery and waits for workers before destroying the UI. Cancellation is checked between calculation stages, not within a numerical grid evaluation. The command server may be stopped without waiting for its HTTP request.
Calculations exceeding one million weighted grid points or 100 million point/luminaire evaluations are rejected. Concurrent requests do not share mutable scenario results. This command does not optimize layouts or change the application's coordinate setting.