awegroup / AWE-Power

A fast cycle-power computation model for fixed-wing ground-generation airborne wind energy systems
MIT License
3 stars 1 forks source link

Convert the code to use Classes instead of Global variables #12

Closed rishikeshsjoshi closed 4 months ago

rishikeshsjoshi commented 6 months ago

How to do this efficiently? @mwakok

DylanEij commented 6 months ago

I have started the conversion of the code to a class with class methods in branch ClassStructure, the global variables are not used anymore. In addition, some variable names have been changed already and for some variables defaults are present if a variable is not provided. The class constructor will take care of the inputs and will return an error if a required input is missing in the constructor argument.