-
Notifications
You must be signed in to change notification settings - Fork 105
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
Plots for magnitude are not smooth #985
Comments
Hello, @raphaeltimbo!! I was thinking in a way to solve this issue, and I found that the Plotly do have an interpolation between the points, using the I'm adding this to a PR and, would like to ask if you can test it with this plot that you generated. |
Hello @marcusfilipesr ! |
Hi @raphaeltimbo! Sorry for the delayed answer! I'll start idealizing an algorithm according to your suggestion. |
Hi there!
|
@raphaeltimbo to create this new samples, with the code as is, it would be necessary to add more elements to the rotor, correct? I think a possible solution would be a "copy rotor" inside the one you're running the frequency response analysis, where you could add more elements as you please. Am I getting it right? Or I'm missunderstanding it? |
Hi @marcusfilipesr! My idea is to get this array and in the region around the natural frequency (5k to 7k in our example) have more frequencies being evaluated. If the array had a space of 5 RPM between each value, in this region we could have 1 RPM, or some value that could even change as we get closer to the peak. |
Got it! Sorry for the lack of understanding. I'll do that. |
We should test the implemented method cluster_points to evaluate if it can solve this issue. |
Hi there!
|
I tested including the "cluster points" method but the effect was not as expected. rotor = rs.rotor_example()
speed = np.linspace(0, 1000, 101)
response = rotor.run_freq_response(speed_range=speed, cluster_points=True, num_points=5)
fig = response.plot_magnitude(inp=13, out=13, frequency_units="RPM").show() @raphaeltimbo, I believe we will need to refine this region to improve visualization. |
@raphaeltimbo, |
As we can see in the figure:
Magnitude plots for forced response analysis are not smooth.
Maybe we could use some interpolation process to make it look better.
The text was updated successfully, but these errors were encountered: