saving . . . saved How to address an error in creating a material stream has been deleted. How to address an error in creating a material stream has been hidden .
How to address an error in creating a material stream
Title
Question
Hello, Sir/Madam! I am currently exploring DWSIM version 6.2.9200.0. I am trying to make a material stream but the system always says that there is an error whenever I click "Accept Changes". It displays: 

DWSIM generated an unhandled error/exception.

System.NullReferenceException: Object reference not set to an instance of an object.
   at DWSIM.Thermodynamics.MaterialStreamEditor.btnCompAcceptChanges_Click(Object sender, EventArgs e) in C:\Users\Daniel\source\repos\DanWBR\dwsim6\DWSIM.Thermodynamics\Editing Forms\Material Stream\MaterialStreamEditor.vb:line 740
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

For screenshot, please click the link:
<a href="https://drive.google.com/file/d/1jg5j4WUbJOixP6di5alVFLtorjqOf6Dv/view?usp=sharing" style="background-color: rgb(255, 255, 255);" target="" title="">https://drive.google.com/file/d/1jg5j4WUbJOixP6di5alVFLtorjqOf6Dv/view?usp=sharing</a>


DWSIM Creating-a-material-stream-in-DWSIM 08-09 min 50-60 sec 10-04-21, 8:40 a.m. MaharlikaPerez

Answers:

It seems like the link above doesn't work, here is an alternative link for the screenshot:

https://drive.google.com/file/d/1jg5j4WUbJOixP6di5alVFLtorjqOf6Dv/view?usp=sharing
10-04-21, 8:45 a.m. MaharlikaPerez


It looks like you have not added any thermodynamics property package in your simulation. Please ensure that the property package is added. To add a property package to an existing simulation, go to Settings >> Thermodynamics tab and then add the property package.

If you have added the property package and still continue to get the error, please share the DWSIM file through g-drive.
10-04-21, 2:58 p.m. priyamnayak
This solves my problem. Thank you very much!
13-04-21, 10:51 a.m. MaharlikaPerez

Login to add comment


Log-in to answer to this question.