Title: Inner Support Elevation Optimization
Domain: engineering — Civil, Architectural & Geospatial Engineering

Summary: Use PLAXIS 3D to compare five inner support elevations for a staged pit-in-pit excavation and report settlement and lateral displacement outcomes with the required engineering deliverables.

Task prompt:
You are a geotechnical engineer using PLAXIS 3D 2023.2 on Windows.

## Your Task
Evaluate how the inner support elevation changes settlement and lateral wall movement for the staged A-zone pit-in-pit excavation benchmark.

## Input Files
- Benchmark model specification: `base\input\benchmark_model_spec_en.md`
- Engineering assumptions: `base\input\engineering_assumptions_en.md`
- Structural materials reference: `base\input\A_zone_structural_materials_en.md`
- Task-specific brief and formulas: `base\input\task_specific_brief_en.md`
- Figure index: `base\input\figure_index_en.md`
- Answer template: `base\input\answer_template.json`
- Reference figures:
  - `base\input\figure_2_1_project_site_plan.png`
  - `base\input\figure_2_3_excavation_zone_plan.png`
  - `base\input\figure_2_4_2_5_support_layout_and_section.png`
  - `base\input\figure_2_6_monitoring_layout.png`
  - `base\input\figure_3_1_plaxis_model_geometry.png`
  - `base\input\figure_3_2_mesh_layout.png`

## Software
- Launch PLAXIS 3D Input from: `base\software\launch_plaxis_3d_input.bat`
- Launch PLAXIS 3D Output from: `base\software\launch_plaxis_3d_output.bat`
- Launch PLAXIS 3D Output Viewer from: `base\software\launch_plaxis_3d_output_viewer.bat`

## What You Must Do
1. Review the staged benchmark specification, assumptions, figures, and answer template.
2. Build or duplicate the PLAXIS 3D case family for the tested support elevations `0 m`, `1 m`, `2 m`, `3 m`, and `4 m`.
3. Run the staged calculations through the final excavation state for each case.
4. Extract maximum settlement and maximum outer-wall lateral displacement for each case.
5. Save one or more native PLAXIS project files using the filename prefix:
   `base\output\model_family_support_position`
6. Save the structured summary table exactly to:
   `base\output\case_summary.csv`
7. Save the required images exactly to:
   `base\output\pos_0m_output_view.png`
   `base\output\pos_2m_output_view.png`
   `base\output\pos_4m_output_view.png`
   `base\output\settlement_vs_support_position.png`
   `base\output\lateral_disp_vs_support_position.png`
8. Save the engineering memo exactly to:
   `base\output\support_position_engineering_memo.md`
9. Save the final machine-readable answer exactly to:
   `base\output\answer.json`

## Output Requirements
- `answer.json` must use the exact schema from `base\input\answer_template.json`
- Report settlement and displacement as positive magnitudes in millimeters
- Keep all work products inside `base\output`


The agent must:
Review the staged benchmark specification, engineering assumptions, figures, and answer template.
Build or duplicate the five PLAXIS 3D support-elevation cases for `0 m`, `1 m`, `2 m`, `3 m`, and `4 m`.
Run the calculations through the final excavation state and extract maximum settlement plus maximum outer-wall lateral displacement for each case.
Write the required PLAXIS project files, `case_summary.csv`, screenshots/plots, engineering memo, and final `answer.json` into `output/`.

Software: PLAXIS 3D 2023.2

Input files:
name: benchmark_model_spec_en.md
format: md
path: input/benchmark_model_spec_en.md
description: Full staged excavation benchmark specification for the A-zone pit-in-pit model.
name: engineering_assumptions_en.md
format: md
path: input/engineering_assumptions_en.md
description: Modeling assumptions and interpretation rules for the PLAXIS study.
name: A_zone_structural_materials_en.md
format: md
path: input/A_zone_structural_materials_en.md
description: Structural and material properties required to rebuild the case family.
name: task_specific_brief_en.md
format: md
path: input/task_specific_brief_en.md
description: Task-specific formulas, reporting instructions, and expected engineering outputs.
name: figure_index_en.md
format: md
path: input/figure_index_en.md
description: Index of the staged reference figures used to reconstruct the model and reporting views.
name: answer_template.json
format: json
path: input/answer_template.json
description: Exact machine-readable output schema the agent must fill in.