saving . . . saved Error of name for assignment question of tutorial(CSTR) has been deleted. Error of name for assignment question of tutorial(CSTR) has been hidden .
Error of name for assignment question of tutorial(CSTR)
Title
Question
Drive link:
https://drive.google.com/file/d/117US25tw_eUSA0rlgzCYXkUX8oPYabal/view?usp=sharing


This error was raised during the calculation of a Unit Operation or Material Stream.

System.NullReferenceException: Object reference not set to an instance of an object.
   at DWSIM.SharedClasses.SystemsOfUnits.Converter.ConvertToSI(String units, Double value) in C:\Users\Daniel\source\repos\DanWBR\dwsim\DWSIM.SharedClasses\UnitsOfMeasure\SystemsOfUnits.vb:line 1184
   at DWSIM.UnitOperations.Reactors.Reactor_CSTR.NewCalculate(Object args) in C:\Users\Daniel\source\repos\DanWBR\dwsim\DWSIM.UnitOperations\Reactors\CSTR.vb:line 701
   at DWSIM.SharedClasses.UnitOperations.BaseClass.Solve() in C:\Users\Daniel\source\repos\DanWBR\dwsim\DWSIM.SharedClasses\BaseClass\SimulationObjectBaseClasses.vb:line 442
   at DWSIM.FlowsheetSolver.FlowsheetSolver.CalculateObjectAsync(Object fobj, CalculationArgs objArgs, CancellationToken ct) in C:\Users\Daniel\source\repos\DanWBR\dwsim\DWSIM.FlowsheetSolver\FlowsheetSolver.vb:line 223
   at DWSIM.FlowsheetSolver.FlowsheetSolver.ProcessQueueInternalAsync(Object fobj, CancellationToken ct) in C:\Users\Daniel\source\repos\DanWBR\dwsim\DWSIM.FlowsheetSolver\FlowsheetSolver.vb:line 520


Location:
Code Location: ConvertToSI (file 'C:\Users\Daniel\source\repos\DanWBR\dwsim\DWSIM.SharedClasses\UnitsOfMeasure\SystemsOfUnits.vb', line 1184)

Calling Method: NewCalculate (file 'C:\Users\Daniel\source\repos\DanWBR\dwsim\DWSIM.UnitOperations\Reactors\CSTR.vb', line 701)

Check input parameters. If this error keeps occurring, try another Property Package and/or Flash Algorithm.

DWSIM Continuous-Stirred-Tank-Reactor 07-08 min 10-20 sec 25-06-22, 7:28 p.m. virat282003

Answers:

You must be doing something wrong or missing some input parameters. I have tried solving the problem and it works fine. Kindly retry the problem with correct input parameters. If the error still exists, kindly upload the DWSIM file in g-drive and share the link.
28-06-22, 4:54 p.m. priyamnayak


Log-in to answer to this question.