Skip to content

PDSim GUI failed to use the vapor injection function #85

@Wang-Zongwei

Description

@Wang-Zongwei

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions