pdsim icon indicating copy to clipboard operation
pdsim copied to clipboard

PDSim GUI failed to use the vapor injection function

Open Wang-Zongwei opened this issue 2 years ago • 2 comments

Today I found below issue, and I hope my feedback is useful.

When I tried to use "vapor injection for scroll compressor", there's no any response when when I clicked the button "Add Injection Line". (see below pic)

QQ截图20231013155456

Below information showed in main output log: Traceback (most recent call last): File "C:\pdsim-master\GUI\plugins\scroll_plugins.py", line 422, in OnAddInjection IE = InjectionElementPanel(self.scrolled_panel,self.Nterms+1) File "C:\pdsim-master\GUI\plugins\scroll_plugins.py", line 265, in init IPP = InjectionPortPanel(self, index = 1) File "C:\pdsim-master\GUI\plugins\scroll_plugins.py", line 40, in init self.AddPort.Bind(wx.EVT_BUTTON,self.Parent.OnAddPort(self)) File "C:\pdsim-master\GUI\plugins\scroll_plugins.py", line 340, in OnAddPort IPP = InjectionPortPanel(self, index = len(self.ports_list)+1) AttributeError: 'InjectionElementPanel' object has no attribute 'ports_list'

Wang-Zongwei avatar Oct 13 '23 07:10 Wang-Zongwei

Hmm I haven't worked with that code in years. Can you debug yourself?

ibell avatar Oct 18 '23 23:10 ibell

OK, I will try, thanks.

Wang-Zongwei avatar Oct 19 '23 01:10 Wang-Zongwei