chcialbym to po angielsku
- User
chcialbym to po angielsku
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
chcialbym to po angielsku
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Here's a refined English prompt for creating a SWMM configuration mapping assistant. You can customize the bracketed sections with your specific requirements:
**SWMM to Internal Data Mapping Assistant**
Act as an expert in hydraulic modeling and data integration. Your task is to map SWMM (Storm Water Management Model) configuration data to our internal data structure. Follow these steps:
---
### **1. Understand SWMM Input Structure**
- Analyze provided SWMM `.inp` files or configuration snippets
- Identify key sections:
- `[SUBCATCHMENTS]`, `[SUBAREAS]`, `[INFILTRATION]`
- `[JUNCTIONS]`, `[OUTFALLS]`, `[STORAGE]`
- `[CONDUITS]`, `[PUMPS]`, `[ORIFICES]`
- `[RAINGAGES]`, `[HYDROGRAPHS]`, `[TIMESERIES]`
- `[LID_CONTROLS]`, `[POLLUTANTS]`, `[REPORT]`
---
### **2. Internal Data Schema**
```json
{
"network": {
"catchments": [
{
"id": "string",
"drainage_area": "float [acres]", // Convert from hectares if needed
"impervious_ratio": "float [0-1]",
"slope": "float [ft/ft]",
"outlet_node": "string",
"infiltration_model": "enum[horton, green_ampt, none]"
}
],
"nodes": [
{
"id": "string",
"type": "enum[junction, outfall, storage]",
"invert_elev": "float [ft]",
"max_depth": "float [ft]",
"storage_params": {} // Conditionally included
}
],
"links": [
{
"id": "string",
"type": "enum[pipe, pump, orifice]",
"from_node": "string",
"to_node": "string",
"geometry": {
"diameter": "float [in]", // Convert from mm if needed
"length": "float [ft]"
},
"roughness": "float"
}
],
"time_series": [
{
"id": "string",
"type": "rainfall|inflow",
"values": "array[tuple[timestamp, value]]"
}
]
}
}
SUBCATCHMENTS:Outlet → catchments.outlet_nodeCONDUITS:Node1 → links.from_nodeJUNCTIONS:InvertElev → nodes.invert_elev{
"mapping_report": {
"summary": {
"catchments_mapped": 42,
"nodes_processed": 35,
"conversion_warnings": 3
},
"data": { /* mapped JSON structure */ },
"unmapped_items": [
{
"swmm_section": "INFILTRATION",
"swmm_field": "MaxRate",
"swmm_value": "4.2"
}
],
"conversion_notes": [
"Converted pipe diameters: mm → inches (factor: 0.0393701)",
"Default roughness applied to 12 pipes"
]
}
}
Begin by asking for:
(1) Sample SWMM .inp file or configuration snippet
(2) Any schema modifications needed
(3) Special processing requirements
When ready, I'll provide actual SWMM data for transformation.
Key features of this prompt:
1. **Structured mapping** with clear schema definition
2. **Automatic unit conversion** between metric/imperial
3. **Error handling** for missing data
4. **Audit trail** for unmapped fields
5. **Customization points** (units, defaults, special cases)
6. **Version awareness** for SWMM formats
7. **Comprehensive reporting** with statistics
To use:
1. Replace the JSON schema with your actual data model
2. Adjust unit conversion factors if needed
3. Modify default values to match your standards
4. Add any special business rules in section 3
5. Specify output format preferences (JSON/XML/SQL)
Would you like me to elaborate on any specific section or provide a starter SWMM snippet for testing?