Product(s): |
SewerGEMS, CivilStorm |
Version(s): |
08.11.XX.XX, 10.XX.XX.XX |
Area: |
Layout and Data Input |
Problem
With SWMM solver and catchment method set to Time-Area software crashes while computing with following error.
System.NullReferenceException: Object reference not set to an instance of an object.
at Haestad.Calculations.HHSolver.Rainfall.StormEventBuilder.LoadRainfall(Boolean isLocalRainfall, IStormEvent localStormEvent, CalcDataType h) in f:\Dev\Core\Aspen\Components\Haestad.HHSolver\Development\Haestad.Calculations.HHSolver\Rainfall\StormEventBuilder.cs:line 103
at Haestad.Calculations.HHSolver.Calculators.Hydrology.UnitHydrograph.UnitHydrographCalculatorBase.CalculateImpl(IDataHeader header, ICatchment catchment, CalcDataType hData) in f:\Dev\Core\Aspen\Components\Haestad.HHSolver\Development\Haestad.Calculations.HHSolver\Calculators\Hydrology\UnitHydrograph\UnitHydrographCalculatorBase.cs:line 55
at Haestad.Calculations.HHSolver.Calculators.Hydrology.HydrologyCalculatorBase.Calculate(IDataHeader header, CalcDataType InputData) in f:\Dev\Core\Aspen\Components\Haestad.HHSolver\Development\Haestad.Calculations.HHSolver\Calculators\Hydrology\HydrologyCalculatorBase.cs:line 25
at Haestad.Calculations.HHSolver.HHEngine.Run() in f:\Dev\Core\Aspen\Components\Haestad.HHSolver\Development\Haestad.Calculations.HHSolver\HHEngine.cs:line 118
at Haestad.Calculations.HydrologyAndHydraulics.HHSolverEngineAdapter.Run(Int64 ticks) in f:\Dev\Core\Aspen\Components\Haestad.HHSolver\Development\Haestad.Calculations.HydrologyAndHydraulics\HHSolverEngineAdapter.cs:line 85
Solution
The error is seen sometimes while using EPA-SWMM solver and catchment runoff method set to Time-Area method.
This has been logged as a defect, reference number is #586513, which shall be resolved in future releases of the product.
The workaround is to set the local storm event for the catchment with runoff method set to Time-Area.