Replies: 2 comments 4 replies
-
Hi Federico, Thank you for bringing this up! Could you share a short script showing what you're running to generate this error? Misha |
Beta Was this translation helpful? Give feedback.
2 replies
-
Hi @fbelli997 , I've started to implement a fix for this in #1110 . I haven't yet fully tested the new code, but you can likely start using the branch that I'm working on in the meantime if you'd like. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I was triyng to use the solve_for_points function setting the fmodel with heterogeneous_inflow_confige active in the model. unfortunatelly I received this message:
" File "C:\Users\fbell\AppData\Local\Programs\Python\Python311\Lib\site-packages\floris\floris_model.py", line 1383, in sample_flow_at_points
return self.core.solve_for_points(x, y, z)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\fbell\AppData\Local\Programs\Python\Python311\Lib\site-packages\floris\core\core.py", line 251, in solve_for_points
self.flow_field.initialize_velocity_field(field_grid)
File "C:\Users\fbell\AppData\Local\Programs\Python\Python311\Lib\site-packages\floris\core\flow_field.py", line 178, in initialize_velocity_field
grid.x_sorted_inertial_frame.flatten(),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'PointsGrid' object has no attribute 'x_sorted_inertial_frame'. Did you mean: 'y_sorted_inertial_frame'?"
does this means that i can use this function implementing particular heterogeneous inflow conditions?
Thank you in andvance for your help.
regards
Federico
Beta Was this translation helpful? Give feedback.
All reactions