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

Adaptation: create a runner supporting adaptation workflow #625

Closed
MatthiasHauthDeltares opened this issue Dec 5, 2024 · 0 comments · Fixed by #634
Closed

Adaptation: create a runner supporting adaptation workflow #625

MatthiasHauthDeltares opened this issue Dec 5, 2024 · 0 comments · Fixed by #634
Assignees

Comments

@MatthiasHauthDeltares
Copy link
Contributor

Kind of request

None

Enhancement Description

_analysis_data = AnalysisConfigData(
        root_path=root_dir,
        input_path=_input_path,
        static_path=static_path,
        output_path=output_path,
        analyses=[
            _damages_section,
            _multi_link_losses_section,
            _adaptation_section,
        ],
        aggregate_wl=AggregateWlEnum.MEAN,
    )

handler = Ra2ceHandler.from_config(_network_config_data, _analysis_data)
handler.run_analysis()

This will fail for adaptation, essentially because the handler tries to run the first analysis _damages_section outside of the adaptation.
The runner used in this case is the DamagesRunner, maybe there should be an AdaptationRunner

Use case

No response

Additional Context

No response

@MatthiasHauthDeltares MatthiasHauthDeltares added this to the Sprint 2024 Q4.4 milestone Dec 5, 2024
@Carsopre Carsopre self-assigned this Dec 6, 2024
@Carsopre Carsopre linked a pull request Dec 9, 2024 that will close this issue
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants