EikonalWorks User's Manual
  • Workbench
  • IntensityView
  • Core Calculations
Search Results for

    Show / Hide Table of Contents
    • Overview and Client Examples
    • Complete Agent Reference
    • File Input and Output
      • OpenFile
      • SaveFile
      • RemoveLid
    • Queries
      • GetParameter
      • GetProperty
      • GetPropertyField
    • Properties and Flux
      • SetProperty
      • SetLuminousFlux
      • SetLampFlux
      • SetLampNumber
      • SetInputPower
      • SetEmitterLOR
      • SetPhotometryUnit
    • Photometric Transforms
      • SetSymmetryData
      • SetResolution
      • RotateEuler
      • RotateQuaternion
      • Scale
      • AutoAlignPhotometry
      • Smoothen
      • EraseUlor
      • Sharpen
    • Geometry
      • SetGeometry
    • Luminaire and Channel Management
      • ConfigureLuminaire
      • DuplicateLuminaire
      • MoveMesh
      • RemoveMesh
      • Combine
    • Map Modification
      • PaintBrush
      • FillSelection
      • ScaleAdd
      • CloneTool
      • ApplyTransform
    • Roadway Scenarios
      • NewRoadwayScenario
      • QueryRoadwayScenario
      • EditRoadwayScenario
      • CalculateRoadwayScenario
      • GetRoadwayScenarioData
      • LoadRoadwayScenarioFile
      • SaveRoadwayScenarioFile
    • View
      • SetCoordinateSystem
    • Session and History
      • Undo
      • Redo
      • StartCommandServer
      • StopCommandServer

    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), and effectiveFlux in 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, GStar and D classifications. Unavailable classes are null; glareUnavailableReason explains 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.

    In this article
    Back to top Generated by DocFX