Forum

Important Notice for New User Registrations

To combat an increasing number of spam and bot registrations, we now manually approve all new user registrations. While this may cause a delay until your account is approved, this step is essential to ensure the quality and security of this forum.

To help us verify your registration as legitimate, please use a clear name as user name or an official email address (such as a work, university, or similar address). If you’re concerned that we may not recognize your registration as non-spam, feel free to email us at with a request to approve your username.

Please or Register to create posts and topics.

Change Point Mass of Blade 1 in SIL Interface

Good Evening,

I would like to be able to change with my python script the point mass in Blade_1.

I know how to do it in the GUI.

1. Create a seperate struct file especially for Blade_1

2. Change the point mass in that file.

3. Load the struct files

4. Create the turbine definition.

5. Create a turbine simulation.

6. Execute the simulaton.

 

I’m wondering how I could execute step 3-5 in the SIL-Interface. Any help would be much appreciated.

 

Hi Roman,

there are two ways how you can automate changing a point mass on the blade when running QBlade through its SIL iterface.

1. You can export the simulation from the GUI to an ASCII *.sim file, which you can later import into the SIL. When the simulation is exported into this format, you can manipulate any of its included files through your script, such as the structural blade table to change the blade mass. Then simply import the *.sim file into the SIL interface (loadSimDefinition()) and start the simulation .

2. The SIL interface contains the function setExternalAction(), which also allows to add a mass to any pont of the turbine structure before the simulation is started. You can checkout the detail of this function in the Interface Function Documentation.

BR,

David

Scroll to Top