Ho Daniel,
When I want to connect an energy stream to the energy recycle block the following message appears:
System.Exception: This connection is not allowed.
at DWSIM.Drawing.SkiaSharp.GraphicsSurface.ConnectObject(GraphicObject gObjFrom, GraphicObject gObjTo, Int32 fidx, Int32 tidx) in C:\Users\Daniel\Source\Repos\dwsim5\DWSIM.Drawing.SkiaSharp\GraphicsSurface\DesignSurface.vb:line 995
at DWSIM.FormFlowsheet.ConnectObject(GraphicObject& gObjFrom, GraphicObject& gObjTo, Int32 fidx, Int32 tidx) in C:\Users\Daniel\Source\Repos\dwsim5\DWSIM\Forms\Flowsheet\FormFlowsheet.vb:line 1348
at DWSIM.FormFlowsheet.ConnectObjects(IGraphicObject gobjfrom, IGraphicObject gobjto, Int32 fromidx, Int32 toidx) in C:\Users\Daniel\Source\Repos\dwsim5\DWSIM\Forms\Flowsheet\FormFlowsheet.vb:line 2464
at DWSIM.UnitOperations.EditingForm_EnergyRecycle.cbInlet1_SelectedIndexChanged(Object sender, EventArgs e) in C:\Users\Daniel\Source\Repos\dwsim5\DWSIM.UnitOperations\Editing Forms\EditingForm_EnergyRecycle.vb:line 184
at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ComboBox.WmReflectCommand(Message& m)
at System.Windows.Forms.ComboBox.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
This is only on the inlet side, the outlet side works well.
I have tried on several setups, even the most simple setup (Energy steam out -> energy recycle block -> energy stream out) produces the excemption.
Please take a look on it.
Many thanks,
BR
Christian
Thanks Christian, it was already fixed in code and will be working ok on the next update.
BR
Daniel