-
Notifications
You must be signed in to change notification settings - Fork 240
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
[SiApp] p-norm damage resp #12373
base: master
Are you sure you want to change the base?
[SiApp] p-norm damage resp #12373
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @Igarizza. Following are my comments:
-
I know we don't have any small finite diferencing unit tests for the
MeasurementResidualResponseFunction
, but at least we can try adding a small finite differencing unit tests for theMeasurementResidualPNorm
. -
Just an after thought, If we say
p_coefficient = 1
, then it is the existingMeasurementResidualPNorm
ryt (apart from the1/p
at the end? should we unify these two?
Apart from above, I only have some minor comments.
...emIdentificationApplication/custom_sensors/measurement_residual_p_norm_response_function.cpp
Outdated
Show resolved
Hide resolved
...emIdentificationApplication/custom_sensors/measurement_residual_p_norm_response_function.cpp
Outdated
Show resolved
Hide resolved
...emIdentificationApplication/custom_sensors/measurement_residual_p_norm_response_function.cpp
Outdated
Show resolved
Hide resolved
...emIdentificationApplication/custom_sensors/measurement_residual_p_norm_response_function.cpp
Outdated
Show resolved
Hide resolved
...emIdentificationApplication/custom_sensors/measurement_residual_p_norm_response_function.cpp
Outdated
Show resolved
Hide resolved
...stemIdentificationApplication/custom_sensors/measurement_residual_p_norm_response_function.h
Outdated
Show resolved
Hide resolved
...plication/python_scripts/sensor_sensitivity_solvers/system_identification_static_analysis.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor comments
applications/SystemIdentificationApplication/custom_python/add_custom_sensors_to_python.cpp
Outdated
Show resolved
Hide resolved
@@ -36,7 +37,11 @@ def Initialize(self): | |||
model_part.ProcessInfo[KratosSI.ADAPT_PERTURBATION_SIZE] = sensor_settings["adapt_perturbation_size"].GetBool() | |||
self.listof_sensors = GetSensors(model_part, sensor_settings["list_of_sensors"].values()) | |||
|
|||
self.measurement_residual_response_function = KratosSI.Sensors.MeasurementResidualResponseFunction() | |||
aggregation_technique = sensor_settings["aggregation_technique"].GetString() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see how this aggregation_technique
variable is used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is left over, I will remove
…_custom_sensors_to_python.cpp Co-authored-by: Suneth Warnakulasuriya <suneth.warna@gmail.com>
📝 Description
PR implments a new aggregation strategy for damage detection resonse. Implementation creates new cpp object for p-norm calculations. In json file one can specify the sensor settings to use p-norm for weighting the sensor contribution.
Please mark the PR with appropriate tags:
🆕 Changelog
Please summarize the changes in one list to generate the changelog:
E.g.