Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - steveg

Pages: [1] 2
1
Regional Hazard Simulation (R2D, rWhale) / Re: Python 3.9
« on: October 12, 2022, 06:09:51 PM »
Hi,

That is bug that will be fixed in a future version of R2D. In your version, only Python 3.8 is supported, even though it says 3.9 should work. Therefore, you will have to use Python 3.8.

Note, that we are making substantial changes to the new version of R2D (coming out in the next week or two). The examples have been updated and may not work if downloaded through the examples manager built into R2D. I have attached an older versions of the examples file (Examples.json) that should replace the one in the R2D/Contents/MacOS/Examples folder. This will ensure that R2D downloads the examples that work with your version of R2D, i.e., an older version of the examples. Let me know if you still run into issues.

Best,
Steve

2
General Questions / Re: Extrude doesn't follow enclosed area
« on: October 12, 2022, 05:39:39 PM »
Hi nproulxjones, can you let me know what tool you are using?

Best,
Steve

3
Hi Emily,

I found the issue. I will release a new version of R2D by the end of the week and let you know. Thanks for your patience and for helping out!

Best,
Steve

4
Hi Mariana,

The new version of R2D should be up now!

Best,
Steve

5
Hi Emily,

I suggest that you update R2D to the latest version and see if you still get the error. Let me know.

Best,
Steve

6
Hi Emily,

I can help you with that. Can you give me some more information on what your inputs are? I assume you are talking about the 'Earthquake Scenario Simulation' widget and the dropdown menu is Record Selection->Database? Can you take a screenshot of the inputs and attach it? That would help me reproduce the error.

Also, does it crash when you change the dropdown item? As soon as you press the Run Hazard Simulation Button? Or at some point during the hazard simulation calculation?

Best,
Steve

7
Hi Mariana,

A few weeks ago I released a new example, Ex. 9 - Tsunami, https://github.com/NHERI-SimCenter/R2DExamples/tree/master/E9Tsunami, which does exactly what you want to do. There is also a video https://www.youtube.com/watch?v=EzxzeZ0kg4g&list=PL2GxvrdFrBlmYq223gclSaVHzkq3NcCIM that explains each step. Note that the functionality described in the example/video is coming in the new version of R2D, which will be released very soon, hopefully by the end of the week. Let me know if you have any more questions, I will be happy to help you get going :)

Best,
Steve

8
Hi Amir,

By default, we are only collecting scalar EDPs. You would have to modify the source code to get the entire EDP time history (which would be a lot of data for a regional analysis). Out of curiosity, how would you be using the regional EDP time histories?

Best,
Steve

9
Hi mbenitez,

Thank you for your question. If I understand the issue correctly, your building inventory is pre-/low code. However, R2D fails to assign fragilities because it incorrectly assumes a high-code value for some of the buildings that are URM? Let me know if I misunderstood.

Also, if you can provide me with your building inventory, either in a DM or attach it to a reply, I can take a look and see what is going on.

Best,
Steve

10
Hi Emily,

The event grid file does need to reference individual grid point .csv files (GP_file). This is so that there can be multiple IM values and also more than one type of IM given at each grid point.

You can take a look at the nearest neighbour algorithm (line 137 onwards) for more information on how these files are used: (https://github.com/NHERI-SimCenter/SimCenterBackendApplications/blob/master/modules/performRegionalMapping/NearestNeighborEvents/NNE.py)

Best,
Steve

11
Hi Emily,

Thank you for the .csv file with the curve parameters. I will look it over with the team and have these implemented. I will keep you updated.

Please note that you have to be logged in to see the attachments, they should appear as separate links at the bottom of the post.

Best,
Steve

12
Hi Emily,

Reaching out to see if we can help with this feature request. If you can provide us with example fragility function(s), we will be happy to help get things going.

Steve

13
I just removed that constraint. This change will appear in the next version of R2D (note current version as of this post is (1.1.0).

Best,
Steve

14
Hi Emily,

We can implement a new widget in R2D where you will be able to provide a path to a folder containing your custom fragility functions. The fragility functions should be defined in the .json format (an example is attached). Can you provide me with an example fragility function so we have an idea of what your exact requirements are?

In the next step, you will need to map your fragility functions to your building inventory using a custom auto-populate script (example of an auto-populate script is attached from Example 7 - Hurricane wind and water).

For the hazard, you can provide the water depths in a grid. As an example, please see the file EventGrid.csv in the folder IMs from Example 7 - Hurricane wind and water. In the next release, R2D will support the import of hazards as raster files.

Please feel free to ask any questions, I am happy to help.

Best,
Steve


15
Hi Emily,

That is certainly possible. I will let you know the ETA for this functionality after our next developer meeting and I might come back with some questions.

Best,
Steve

Pages: [1] 2