Search found 5 matches

by david.s
Wed Feb 28, 2024 2:12 pm
Forum: SMILE
Topic: Calculating values in Python and returning them to pySMILE
Replies: 10
Views: 4525

Re: Calculating values in Python and returning them to pySMILE

At the moment I am trying to implement option a). Ideally I would be able to use stress_list as values in a node in the same 'system.xdsl' in the same way as if it would have been calculated by an equation node.

I really appreciate your effort to settle my enquiry.
by david.s
Thu Feb 22, 2024 1:46 pm
Forum: SMILE
Topic: Calculating values in Python and returning them to pySMILE
Replies: 10
Views: 4525

Re: Calculating values in Python and returning them to pySMILE

The first 100 values of stress_list would look e.g. like this: 2.085013436218727989e+01 1.899219629674703569e+01 1.653029092248572240e+01 5.059338097558088165e+00 1.444097813066429659e+01 2.129150571826859206e+01 1.880705604811141285e+01 1.928504591673573287e+01 2.275014283504456003e+01 1.8450694077...
by david.s
Tue Feb 20, 2024 10:22 am
Forum: SMILE
Topic: Calculating values in Python and returning them to pySMILE
Replies: 10
Views: 4525

Re: Calculating values in Python and returning them to pySMILE

Yes, it is conditional on several nodes. For one the "Temperature" node, which is defined as T_list in python, but also another node "Strength" which is conditional to "Temperature" aswell.
by david.s
Tue Feb 06, 2024 9:06 am
Forum: SMILE
Topic: Calculating values in Python and returning them to pySMILE
Replies: 10
Views: 4525

Re: Calculating values in Python and returning them to pySMILE

Thanks for the reply. The issue is that the integrated functions of GeNIe do not allow the kind of calculation I need. A calculations with multiple matrix multiplications is done in calculate_stress(). As I want to iterate various input values with python and observe the failure probability as outco...
by david.s
Wed Oct 25, 2023 2:46 pm
Forum: SMILE
Topic: Calculating values in Python and returning them to pySMILE
Replies: 10
Views: 4525

Calculating values in Python and returning them to pySMILE

Hello, I am trying to conduct a risk assessment using GeNIe and pySMILE. To do this I set up probabilities for environmental influences, which works great. The result of this is a function node with a discretized temperature distribution. But to proceed with the risk assessment I need to use advance...