Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wind turbine use to_sc(discon_wt2.dll) array to send data to supercontroller(sc_dll.dll) didn't work #2308

Open
clun1 opened this issue Jul 9, 2024 · 1 comment

Comments

@clun1
Copy link

clun1 commented Jul 9, 2024

Dear @jjonkman,

when i use to_sc array in DISCON_WT2.DLL send data to SC_DLL.dll, it didn't work .but when i use to_sc array inDISCON_WT1.DLL send data to SC_DLL.dll,it work. I have followed the Settings in the link and referred to the document, but I still don't know where the problem is. May I ask if this is a problem in the program?
#1511
https://forums.nrel.gov/t/fast-farm/1887/165
https://openfast.readthedocs.io/en/main/source/user/fast.farm/ModelGuidance.html
1720532599174
image
image
image
image

Best regards,

@jjonkman
Copy link
Collaborator

Dear @clun1,

Looking at the code snippets you shared, it looks like you've set NumCtrl2SC to 6, which means that each WT will send 6 signals to the SC and the SC will receive 6*2 = 12 signals from both turbines. As far as I can tell, you are setting to_SC(1-2) from WT1 and to_SC(3-4) from WT2, which is not correct. If you want each WT to send 2 signals, set NumCtrl2SC = 2 and set to_SC(1-2) in the controllers of both WT1 and WT2, which will show up in sc_updatestates() via to_SC(1-4).

Best regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants