Comments (4)
This error is generated because ROSCO can't find your input file. It seems to think that 'D:\z各种资料\小工具汇总\ROSCO-main2022-2.5.0\ROSCO-main' is the input file, which looks like a directory. I'm not sure why it's set this way, since the input file is defined here.
I have heard that there are issues with this example on Windows, so perhaps you might skip it. Otherwise, we need to figure out why the filename is truncated. This is the file that sets up the control interface in python.
from rosco.
Is the input file referred to by this error the 'libdiscon.dll' file?
I find that 'lib_name' is the input to the 'ControllerInterface' module.
lib_name is given here:
lib_name= os.path.join(this_dir, '../ROSCO/build/libdiscon.dll')
Truncating the string of a path is indeed an odd situation.
I'll try a little more and see if I can find out the reason.
from rosco.
I think the issue is with param_file
, perhaps around here
from rosco.
dear dzalkind,
You're right. The issue is with self.accINFILE = self.param_name.encode('utf-8')
.
When I remove the Chinese path from the project path, the program runs well, although it's not the fundamental solution to the issue.
Thank you again.
from rosco.
Related Issues (20)
- Error while installing ROSCO complitly on Windows 11 HOT 5
- read beamdyn? HOT 8
- Inconsistent behaviour of the yaw module HOT 2
- pip install -e . not working as intended on Windows HOT 2
- Output timestep in wfc_controller HOT 3
- K omega**2 control, definition of K HOT 1
- Additional Measurement Outputs from OpenFAST via zeromq HOT 1
- Invalid tag on 2.9.1? HOT 2
- The acquisition of PI parameters in torque control HOT 2
- Missing 32-bit Windows Libraries
- Is ROSCO safe for multiprocessing? HOT 2
- add wintypes to the ctypes import HOT 2
- Feature: expand wfc_zmq_server to allow wind farm controllers to access past measurements and measurements from other turbines
- Generator model
- WE_Mode setting 2 HOT 1
- `interp2d` has been removed in SciPy 1.14.0 HOT 1
- Max torque rate for the 5 MW HOT 3
- Check for prior initialization
- An issue with loading the simulator and controller interface in ROSCO HOT 8
- cannot find the ROSCO input file for IEA-15-240-RWT HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rosco.