Changeset 2322 for palm/trunk/SOURCE
- Timestamp:
- Jul 26, 2017 8:30:28 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/wind_turbine_model_mod.f90
r2257 r2322 26 26 ! ----------------- 27 27 ! $Id$ 28 ! Bugfix of error message and assign error numbers 29 ! 30 ! 2257 2017-06-07 14:07:05Z witha 28 31 ! Bugfix: turb_cl_tab and turb_cd_tab were set to zero before being allocated 29 32 ! … … 432 435 IF ( ierrn < 0 ) THEN 433 436 message_string = 'errors in \$wind_turbine_par' 434 CALL message( 'wtm_parin', 'PA0 ???', 1, 2, 0, 6, 0 )437 CALL message( 'wtm_parin', 'PA0460', 1, 2, 0, 6, 0 ) 435 438 ENDIF 436 439 … … 452 455 message_string = 'pitch_control = .TRUE. requires '// & 453 456 'speed_control = .TRUE.' 454 CALL message( 'wtm_check_parameters', 'PA0 ???', 1, 2, 0, 6, 0 )457 CALL message( 'wtm_check_parameters', 'PA0461', 1, 2, 0, 6, 0 ) 455 458 ENDIF 456 459 457 IF ( ANY( omega_rot(1:nturbines) < =0.0 ) ) THEN458 message_string = 'omega_rot < =0.0, Please set omega_rot to ' // &460 IF ( ANY( omega_rot(1:nturbines) < 0.0 ) ) THEN 461 message_string = 'omega_rot < 0.0, Please set omega_rot to ' // & 459 462 'a value larger than zero' 460 CALL message( 'wtm_check_parameters', 'PA0 ???', 1, 2, 0, 6, 0 )463 CALL message( 'wtm_check_parameters', 'PA0462', 1, 2, 0, 6, 0 ) 461 464 ENDIF 462 465 … … 468 471 message_string = 'rcx, rcy, rcz ' // & 469 472 'have to be given for each turbine.' 470 CALL message( 'wtm_check_parameters', 'PA0 ???', 1, 2, 0, 6, 0 )473 CALL message( 'wtm_check_parameters', 'PA0463', 1, 2, 0, 6, 0 ) 471 474 472 475 ENDIF … … 1097 1100 IF ( ierrn /= 0 ) THEN 1098 1101 message_string = 'file WTM_DATA does not exist' 1099 CALL message( 'wtm_init', 'PA0 ???', 1, 2, 0, 6, 0 )1102 CALL message( 'wtm_init', 'PA0464', 1, 2, 0, 6, 0 ) 1100 1103 ENDIF 1101 1104 !
Note: See TracChangeset
for help on using the changeset viewer.