A non-transitory computer-readable storage medium storing a program for generating a thermal-analysis-model, the program causing a computer to execute:
- calculating an area of a predetermined range including an electronic component mounted on a printed-circuit board;
- counting the number of via holes included in the predetermined range of which the area is calculated;
- calculating a first physical property value using the calculated area, the number of via holes counted, and a preset physical property value of a conductor;
- and
- generating a thermal analysis model subject to thermal analysis in which a preset physical property value is set in the electronic component and a heat release path having the calculated first physical property value is provided in the printed-circuit board so as to extend from the electronic component in a layer direction of the printed-circuit board.