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

BUG: Accessing SpectralAnalysisMembersInternalForces for different Envelopes not possible #336

Closed
MaximilianFranz opened this issue Feb 15, 2024 · 7 comments · Fixed by #389
Assignees
Labels
ToDo Add new feature

Comments

@MaximilianFranz
Copy link

Describe the bug
We're trying to access the results of the spectral analysis for different Envelopes (in German: "Umhüllende Y" and "Umhüllende X") via the webservices API.
However, we only received the results of the one envelope that's currently selected in the UI and cannot change the envelope programmatically.

To Reproduce
We're using this code:

      member_inner_forces = ResultTables.SpectralAnalysisMembersInternalForces(
          loading_type=CaseObjectType.E_OBJECT_TYPE_LOAD_CASE,
          loading_no=loading_id,
          object_no=beam_idx,
          model=model,
      )

where loading_id is the load_case number of "Antwortspektrenverfahren" and beam_idx is the id of a result-beam (type=RESULT_BEAM_TYPE).

We've experimented with using using CaseObjectType.E_OBJECT_TYPE_RESULT_COMBINATION but that didn't yield any results.

Expected behavior
Some way to change the envelope type.

Screenshots

This is the envelope we want to switch:
image

to fetch the results from this table:
image

@MaximilianFranz MaximilianFranz added the bug Existing feature isn't working properly label Feb 15, 2024
@OndraMichal
Copy link
Contributor

Hi @MaximilianFranz,
none of these functions yield intended table?
get_results_for_spectral_analysis_building_model_member_forces_in_shear_walls()
get_results_for_spectral_analysis_building_stories_centres_mass_rigidity()
get_results_for_spectral_analysis_building_stories_forces_in_deep_beams()
get_results_for_spectral_analysis_building_stories_forces_in_shear_walls()
get_results_for_spectral_analysis_building_stories_interstory_drifts()
get_results_for_spectral_analysis_building_stories_sensitivity_coefficients()
get_results_for_spectral_analysis_building_stories_story_actions()
get_results_for_spectral_analysis_line_hinges_deformations()
get_results_for_spectral_analysis_line_hinges_forces()
get_results_for_spectral_analysis_line_releases_deformations()
get_results_for_spectral_analysis_line_releases_forces()
get_results_for_spectral_analysis_lines_slab_wall_connections()
get_results_for_spectral_analysis_lines_support_forces()
get_results_for_spectral_analysis_members_contact_forces()
get_results_for_spectral_analysis_members_global_deformations()
get_results_for_spectral_analysis_members_hinge_deformations()
get_results_for_spectral_analysis_members_hinge_forces()
get_results_for_spectral_analysis_members_internal_forces()
get_results_for_spectral_analysis_members_internal_forces_by_member_set()
get_results_for_spectral_analysis_members_internal_forces_by_section()
get_results_for_spectral_analysis_members_local_deformations()
get_results_for_spectral_analysis_members_local_plastic_deformation_ratios()
get_results_for_spectral_analysis_members_strains()
get_results_for_spectral_analysis_nodes_deformations()
get_results_for_spectral_analysis_nodes_pseudo_accelerations()
get_results_for_spectral_analysis_nodes_pseudo_velocities()
get_results_for_spectral_analysis_nodes_support_forces()
get_results_for_spectral_analysis_solids_basic_stresses()
get_results_for_spectral_analysis_solids_basic_total_strains()
get_results_for_spectral_analysis_solids_deformations()
get_results_for_spectral_analysis_solids_equivalent_stresses()
get_results_for_spectral_analysis_solids_equivalent_total_strains()
get_results_for_spectral_analysis_solids_gas_quantities()
get_results_for_spectral_analysis_solids_principal_stresses()
get_results_for_spectral_analysis_solids_principal_total_strains()
get_results_for_spectral_analysis_summary()
get_results_for_spectral_analysis_surfaces_basic_internal_forces()
get_results_for_spectral_analysis_surfaces_basic_stresses()
get_results_for_spectral_analysis_surfaces_basic_total_strains()
get_results_for_spectral_analysis_surfaces_contact_stresses()
get_results_for_spectral_analysis_surfaces_design_internal_forces()
get_results_for_spectral_analysis_surfaces_elastic_stress_components()
get_results_for_spectral_analysis_surfaces_equivalent_stresses_bach()
get_results_for_spectral_analysis_surfaces_equivalent_stresses_mises()
get_results_for_spectral_analysis_surfaces_equivalent_stresses_rankine()
get_results_for_spectral_analysis_surfaces_equivalent_stresses_tresca()
get_results_for_spectral_analysis_surfaces_equivalent_total_strains_bach()
get_results_for_spectral_analysis_surfaces_equivalent_total_strains_mises()
get_results_for_spectral_analysis_surfaces_equivalent_total_strains_rankine()
get_results_for_spectral_analysis_surfaces_equivalent_total_strains_tresca()
get_results_for_spectral_analysis_surfaces_global_deformations()
get_results_for_spectral_analysis_surfaces_local_deformations()
get_results_for_spectral_analysis_surfaces_maximum_total_strains()
get_results_for_spectral_analysis_surfaces_principal_internal_forces()
get_results_for_spectral_analysis_surfaces_principal_stresses()
get_results_for_spectral_analysis_surfaces_principal_total_strains()

@MaximilianFranz
Copy link
Author

I can see the table and get the correct results, but I am not able to switch programmatically between Envelope Y / X (see the first screenshot).

What we are doing now is to run the script once with Umhüllende X set then switch in the UI to Umhüllende Y and run the script again. Then we have both results. But I would like to do that switch programmitcally.

@OndraMichal OndraMichal self-assigned this Mar 1, 2024
@OndraMichal OndraMichal added ToDo Add new feature and removed bug Existing feature isn't working properly labels Mar 1, 2024
@OndraMichal
Copy link
Contributor

Ok, so this is something we don't support yet. Will have to create ToDo for it.

@jlemeriel
Copy link

I have the same problem.
@MaximilianFranz have you received any response yet ?

@TomasPail
Copy link

TomasPail commented Jun 14, 2024

@MaximilianFranz @jlemeriel
Currently, we've started work to allow this feature in Webservice Core. The HLF part will follow, so let's assume in 2-3 weeks it might be available here.

@MaximilianFranz
Copy link
Author

thx - looking forward.

@MaximilianFranz
Copy link
Author

@MaximilianFranz @jlemeriel Currently, we've started work to allow this feature in Webservice Core. The HLF part will follow, so let's assume in 2-3 weeks it might be available here.

@TomasPail Can you let us know here when theres a testable version of this ready? :) Thanks alot

@TomasPail TomasPail linked a pull request Jul 1, 2024 that will close this issue
14 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ToDo Add new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants