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.
loadSimDefinition()
Quote from Hannes W on 14. April 2023, 20:04Hi,
I’m a master student at UGent and I’m using QBlade for my masters thesis.
I ran the sampleScript.py and imported the sample project like this: #QBLIB.loadProject(b”./NREL_5MW_Sample.qpr”). This all worked fine and I got data.
When I export the simulation as a .sim file and load it as follows:QBLIB.loadSimDefinition(r”D:\Documenten\QBlade\QBladeCE_2.0.5.2\test.sim”)
the code returns the following error: “No Simulation in the database! Aborting…”What am I doing wrong?
Hi,
I’m a master student at UGent and I’m using QBlade for my masters thesis.
I ran the sampleScript.py and imported the sample project like this: #QBLIB.loadProject(b”./NREL_5MW_Sample.qpr”). This all worked fine and I got data.
When I export the simulation as a .sim file and load it as follows:QBLIB.loadSimDefinition(r”D:\Documenten\QBlade\QBladeCE_2.0.5.2\test.sim”)
Quote from David on 16. April 2023, 12:42Hi Hannes,
glad you solved your issue, I guess the issue was that the file location string was passed incorrectly?
QBLIB.loadSimDefinition(b”D:\Documenten\QBlade\QBladeCE_2.0.5.2\test.sim”)
instead of
QBLIB.loadSimDefinition(r”D:\Documenten\QBlade\QBladeCE_2.0.5.2\test.sim”) ?
BR,
David
Hi Hannes,
glad you solved your issue, I guess the issue was that the file location string was passed incorrectly?
QBLIB.loadSimDefinition(b”D:\Documenten\QBlade\QBladeCE_2.0.5.2\test.sim”)
instead of
QBLIB.loadSimDefinition(r”D:\Documenten\QBlade\QBladeCE_2.0.5.2\test.sim”) ?
BR,
David