How gonoboben/buoycalc-windows works
BuoyCalc Windows is an Avalonia desktop engineering application for designing and assessing quasi-static buoy moorings. The main workflow assembles environment, buoy, line and anchor inputs, runs an engineering calculation, derives selected-path design authorities and presents the result in the UI, 2D view, PDF and technical report. The README documents the selected-authority stages and presentation-only rule; excerpts additionally show application-run orchestration and authority projection. Unsampled view-model wiring and solver internals are not asserted beyond documented behavior.
Main entry points: MainWindowViewModel.cs Project editor · CalculationSnapshot.cs Run snapshot · MooringSelectedEngineeringAssessmentState.cs Engineering assessment · ApplicationCalculationRunner.cs Run coordinator
Components 19
Desktop workflow
- Project editor
ViewModels/MainWindowViewModel.cs - Mooring sequence
ViewModels/AssemblyItemViewModel.cs
Engineering calculation
- Run coordinator
ApplicationModel/ApplicationCalculationRunner.cs - Input validation
ApplicationModel/EngineeringInputValidation.cs - Run snapshot
ApplicationModel/CalculationSnapshot.cs - Selected geometry
Services/MooringSignedCandidateEvaluator.cs
Selected authorities
- Design envelope
Services/MooringSelectedDesignEnvelopeState.cs - Design tension
Services/MooringSelectedDesignTensionDemandState.cs - Anchor reaction
Services/MooringSelectedAnchorReactionState.cs - Local element demand
Services/MooringSelectedLocalElementDemandState.cs - Structural capacity
Services/MooringSelectedLocalStructuralCapacityState.cs - Engineering assessment
Services/MooringSelectedEngineeringAssessmentState.cs
Results and reports
- 2D selected shape
Services/Mooring2DDiagramReadModel.cs - 2D canvas
Views/Mooring2DCanvas.cs - PDF report
Services/PdfReportBuilder.cs - Technical report
Services/TechnicalReportData.cs
Project and libraries
- Project files
Services/ProjectJsonStorage.cs - Element libraries
Services/ElementLibraryBundleStorage.cs
Other components
- Engineer
Connections 23
- Engineer → Project editor: edits project
README.md - Project editor → Mooring sequence: configures sequence
ViewModels/MainWindowViewModel.cs - Project editor → Run coordinator: runs calculation
ViewModels/MainWindowViewModel.cs - Run coordinator → Input validation: validates inputs
ApplicationModel/ApplicationCalculationRunner.cs - Run coordinator → Run snapshot: builds snapshot
ApplicationModel/ApplicationCalculationRunner.cs - Run snapshot → Selected geometry: selects shape
ApplicationModel/CalculationSnapshot.cs - Selected geometry → Design envelope: derives demand envelope
- Design envelope → Design tension: projects tension demand
Services/MooringSelectedDesignTensionDemandState.cs - Design envelope → Anchor reaction: projects anchor reaction
Services/MooringSelectedAnchorReactionState.cs - Design tension → Local element demand: informs local demand
- Local element demand → Structural capacity: projects capacity
Services/MooringSelectedLocalStructuralCapacityState.cs - Design tension → Engineering assessment: informs assessment
Services/MooringSelectedEngineeringAssessmentState.cs - Anchor reaction → Engineering assessment: informs assessment
Services/MooringSelectedEngineeringAssessmentState.cs - Structural capacity → Engineering assessment: informs assessment
Services/MooringSelectedEngineeringAssessmentState.cs - Run snapshot → 2D selected shape: projects selected shape
- 2D selected shape → 2D canvas: renders diagram
Views/Mooring2DCanvas.cs - Run snapshot → PDF report: supplies report data
- Run snapshot → Technical report: retains report data
ApplicationModel/CalculationSnapshot.cs - Project editor → Project files: loads and saves
ViewModels/MainWindowViewModel.cs - Project editor → Element libraries: uses presets
- Engineering assessment → Project editor: presents verdict
README.md - PDF report → Engineer: exports PDF
README.md - Technical report → Engineer: presents report
README.md