This project now supports generating comprehensive elevator simulation reports in both Markdown and PDF formats, available in both English and Chinese.
We have created two comprehensive report templates:
- English Report:
elevator_simulation_report_en.md - Chinese Report:
elevator_simulation_report_cn.md
These templates contain detailed sections covering:
- Executive Summary
- Simulation Configuration
- Methodology
- Results and Analysis
- Recommendations
- Technical Implementation Details
- Conclusion
- Appendices
To generate both English and Chinese PDF reports from the Markdown templates, run:
./gradlew generateReportsThis will generate:
elevator_simulation_report_en.pdf(English version)elevator_simulation_report_cn.pdf(Chinese version)
You can also generate reports manually using the ReportGeneratorUtil class:
./gradlew run --args='generate-reports'Both reports follow the same comprehensive structure to ensure all important information is captured:
- Executive Summary - Key findings and overall performance metrics
- Simulation Configuration - Detailed setup parameters
- Methodology - Technical approach and algorithms used
- Results and Analysis - Performance data with charts and tables
- Recommendations - Optimization suggestions based on results
- Technical Implementation Details - Deep dive into the features implemented
- Conclusion - Summary of improvements and benefits
- Appendices - Technical specifications and raw data
To customize the reports for a specific simulation:
- Modify the Markdown templates (
elevator_simulation_report_en.mdandelevator_simulation_report_cn.md) - Replace placeholder values (marked with
[]) with actual simulation data - Regenerate the PDF reports using the Gradle task
The report generation functionality uses:
- iText 7 - For PDF generation
- flexmark-java - For Markdown to HTML conversion
- HTML to PDF converter - For converting HTML to PDF
These dependencies are automatically managed through Gradle.