Calculation elements
All elements for KISSsoft calculations are derived from classes which begin with the name . In tree view they have a blue background.
The calculation elements have a series of functions:
- Calculate: performs a KISSsoft calculation in the background.
- kSoftInterface: starts KISSsoft interactively
- kSoftReport: performs the calculation and displays the report.
- SetFlags: Sets the flags for data exchange between KISSsoft and KISSsys to suit the required storage location.
- Save in KISSsys: The data will be passed on in both directions.
- Save in KISSsoft: Data with a stored expression will be transferred from KISSsys to KISSsoft, and all other data will only be transferred in the other direction.
This function sets the flags only once when selected. It therefore has no effect on later changes.
- kSoftModul: This hidden function displays the KISSsoft module descriptor.
- getTranslationTable: This hidden function shows the translation table for variable names from KISSsys to KISSsoft. In the calculation element, the translation table can be extended via the array: For example, an entry of adds a link between the variables and and the corresponding KISSsoft variables. Until now the names of the KISSsoft variables could only be taken from the report templates, .
- getUtilization: This function returns the utilization, and the required safety/safety ratio.
In the variable you can specify a KISSsoft calculation file which will automatically be loaded at the start of the calculation, before any other variables are transferred. You can use the variable to specify whether this KISSsoft calculation file should be saved automatically:
- Don't ask and don't save When KISSsoft is shut down, you will not be asked if the file should be saved after changes have been made to it.
- Ask for saving When KISSsoft is shut down you will be asked if the file should be saved. (KISSsoft default response)
- Save automatically When KISSsoft is shut down, the calculation file will be saved automatically without a user confirmation prompt.
- Save file in KISSsys No file name will be entered in . Instead, the entire calculation file will be saved in the KISSsys element.
The shaft calculation contains the special method UpdateShaftElements. This must be called up if an element of force is to be added/deleted on a shaft. It evaluates the type and number of elements of forces on the shaft and transfers them into the 'forces' array in the shaft calculation. This array is a defining factor for the forces in the shaft calculation.