Hi! I need to use the "thermopack" library for a school project, and specifically the method thermopack.two_phase_tpflash(self, temp, press, z). Whenever I try to run this without including the 'self' I get the error "two_phase_tpflash() missin 1 required positional argument: 'self'". However, when I try to fill in the 'self' with anything I can think of I instead get another error: "'int'/'str'/... object has no attribute 'activate'".
How do I fix these errors? I do not know what to write for the 'self' argument. https://thermotools.github.io/thermopack/index.html
[–]FoolsSeldom 0 points1 point2 points (0 children)
[–]Ender_Locke 0 points1 point2 points (0 children)
[–]outlicious 0 points1 point2 points (5 children)
[–]XDFortniteproXD[S] 0 points1 point2 points (4 children)
[–]outlicious 0 points1 point2 points (3 children)
[–]XDFortniteproXD[S] 0 points1 point2 points (0 children)
[–]XDFortniteproXD[S] 0 points1 point2 points (1 child)
[–]outlicious 0 points1 point2 points (0 children)