zlatko-minev / pyEPR

Powerful, automated analysis and design of quantum microwave chips & devices [Energy-Participation Ratio and more]
https://pyepr-docs.readthedocs.io
Other
160 stars 219 forks source link

Add DrivenTerminal support #121

Closed nikosavola closed 2 years ago

nikosavola commented 2 years ago

This PR adds support for HFSS Driven Terminal solutions. There doesn't seem to be API differences compared to Driven Modal that would need to be taken care of by pyEPR.

As such, the new HfssDTSetup is effectively the same as HfssDMSetup. We just have to have the check for solution_type == "DrivenTerminal", otherwise pyEPR fails to connect to Ansys

        elif self.solution_type == "DrivenTerminal":
            return HfssDTSetup(self, name)

Closes #120