The api.pyleecan.create_param_dict() function compiles information on magnetization and magnetization angle. It should be verified separately to ensure that all magnetization types function correctly, especially for surface magnets.
➡️ Implement a new test function to check that the magnetization types and direction (vectors) are correctly set in the ONELAB model from the Pyleecan API.
The
api.pyleecan.create_param_dict()function compiles information on magnetization and magnetization angle. It should be verified separately to ensure that all magnetization types function correctly, especially for surface magnets.➡️ Implement a new test function to check that the magnetization types and direction (vectors) are correctly set in the ONELAB model from the Pyleecan API.