This project is a tool designed to find an optimal physical layout based on workload data. It uses VBA within Excel to perform the core calculations and VBA within Visio to import and visualize the layout and results.
The primary function is to calculate layout “costs” using different distance metrics (Euclidean vs. Manhattan) and help users make data-driven decisions on facility design.
This project is divided into two main parts: Excel for calculation and Visio for visualization.
/Excel/
)This folder contains the main calculation engine, data files, and documentation.
Key Files:
visio-excel-objectdata-and-macros.xlsm
: The main Excel workbook. This is where the user inputs data and runs the primary macros.LayoutCostCalculator.bas
: The central module that likely calculates the final cost of a layout.MatrixDefaultEuclidian.bas
& MatrixDefaultManhattan.bas
: Modules to calculate straight-line vs. grid-based distance matrices.MatrixWorkloadEuclidian.bas
& MatrixWorkloadManhattan.bas
: Modules that combine workload data with the distance matrices.RectangleDef.cls
& ZoneDef.cls
: Define custom data structures for “Rectangles” and “Zones”, making the code more robust.DOCUMENTATION_CZECH.txt
& DOCUMENTATION_ENGLISH.txt
: User manuals in Czech and English./Visio/
)This folder contains the Visio template and macros for importing and exporting data to visualize the layout.
Key Files:
PRG layout.vsdm
: The macro-enabled Visio drawing file used as the template or final output.ImportDefault.bas
& ExportDefault.bas
: General modules for moving data between Visio and another source (likely Excel).ImportWorkloadNewSheet.bas
& ImportWorkloadSheetPowerBI.bas
: Specialized import functions for handling workload data.visio-excel-objectdata-and-macros.xlsm
file.PRG layout.vsdm
file in Visio.