196 Commits (bd6efc2a3a660ce865488770ca803025af7dda10)
 

Author SHA1 Message Date
MrWaradana bd6efc2a3a feat: Add `get_where_query_sql_labour_cost` to filter out 'T' wonums and update `get_yearly_labour_cost_total_by_worktype` to use it. 10 months ago
MrWaradana 04b7977c78 update run plant simulation 10 months ago
MrWaradana 9245669487 add all worktype includes 10 months ago
MrWaradana b1da29c7e6 remove where worktype cm proactive em 10 months ago
ariwahyunahar d60c8bc511 Perubahan run2.py -> value EaF dan CF dari input, kecuali tahun prediksi ambil dari master 10 months ago
MrWaradana a9304328d4 fix id changes every fetch because of delete is_actual = 0 10 months ago
MrWaradana f0abadf932 fix id fetch changes 10 months ago
MrWaradana a2da393c54 feat: Introduce linear forecasting for SFC and auxiliary parameters and refine actual energy sales calculation. 10 months ago
ariwahyunahar 911254db11 Perubahan run2.py -> mengakomodir SFC & Aux power, serta perbaikan beberapa 10 months ago
MrWaradana 90f00af864 refactor: simplify worktype filter to always include CM, PROACTIVE, and EM. 10 months ago
MrWaradana fe4317b1b6 refactor: Remove wonum exclusion and add worktype CASE statement to equipment queries. 10 months ago
MrWaradana e6ceb1a3e6 fix query fetch rbd 10 months ago
MrWaradana 1d786b30bf feat: add status filter for completed and closed work orders to equipment queries 10 months ago
MrWaradana 835224a854 fix the simulation tables used 10 months ago
MrWaradana 37a67c2fd2 feat: Make `equipment_master` field optional in `EquipmentDataMaster` schema. 10 months ago
MrWaradana 74ff4007e3 fix the join to outerjoin for get admin equipment data 10 months ago
MrWaradana 509395c973 remove min_eac_info 10 months ago
MrWaradana ee72a71fe4 fix plant calc 10 months ago
MrWaradana b6d9f147f3 update plant calculation 10 months ago
ariwahyunahar 16faf36de4 plant/run2.py -> perbaikan rumus pengambilan 3 rata2 data terakhir, menjadi 3 terakhir sebelumnya -> last_3_eaf = eaf_history[-3:] 10 months ago
ariwahyunahar d41899dcb5 plant/run2.py -> perubahan rumus pengambilan 3 rata2 data terakhir, menjadi 3 terakhir sebelumnya -> last_3_eaf = eaf_history[-4:-1] 10 months ago
MrWaradana 4cbf968688 remove fs from plant tr data 10 months ago
MrWaradana d84bd0f6ef feat: Introduce chart data retrieval with Break-Even Point calculation and update transaction ID type to UUID. 10 months ago
MrWaradana 55e41abaa3 fix condition asset criticality 10 months ago
MrWaradana 36fda3e73e fix where query sql 10 months ago
MrWaradana ad224c7ecc refactor select for displaying maximo record 10 months ago
MrWaradana 7e9c56f759 fix: empty condtionn wo maxio 10 months ago
MrWaradana e95669b7e3 fix: if wo none, asset criticality 0 10 months ago
MrWaradana 389449d10a refactor: Implement equipment data services with dynamic SQL query generation and category rollup logic. 10 months ago
MrWaradana c630d0b135 feat: Implement 3-year average EAF and CF history tracking to adjust net capacity factor calculation. 11 months ago
MrWaradana 39a53c477a feat: Introduce linear projection for plant cost breakdown and decouple plant simulation from simulation_id. 11 months ago
ariwahyunahar 8c01702c7a edit plant simulation run2.py -> menambahkan hitung nilai cf=selisih dari rata2 3 tahun terakhir eaf - (cf - eaf) 11 months ago
ariwahyunahar 398a2b14a2 Merge branch 'main' of https://git.reliabilityindonesia.com/CIzz22/be-lcca 11 months ago
ariwahyunahar fd5082d002 edit plant simulation run2.py 11 months ago
MrWaradana 0e954d2dc0 feat: Implement upsert functionality for prediction data, updating existing records or inserting new ones, and remove the previous deletion of all predictions. 11 months ago
MrWaradana d2861e1a35 refactor: Streamline actual data queries by removing labor details, add optional asset filtering, and update EAC disposal cost calculation. 11 months ago
MrWaradana d1aa0ced70 refactor: refine EAC year difference calculation logic and add an explanatory comment for EM. 11 months ago
MrWaradana baf05b10de fix: correctly calculate remaining life and apply ordering using aliased column in EAC queries. 11 months ago
MrWaradana 0dd0ce1fe2 refactor: Exclude `seq=0` from historical data, simplify CM prediction logic, and remove hardcoded assetnum from run script. 11 months ago
MrWaradana fa4ea74d9b refactor: Standardize module imports to absolute paths and re-enable data querying in run script. 11 months ago
MrWaradana 56ec7a1bad feat: remove `query_data` invocation, add `assetnum` parameter to `predict_run`, and refine fallback imports. 11 months ago
MrWaradana 6ceb295781 edit avg proyeksi data equipment 11 months ago
ariwahyunahar ef07faf9a0 update run2 plant - create new function liner generate for B&D Cost 11 months ago
MrWaradana b9df675099 refactor: adjust import path for where_query_sql 11 months ago
MrWaradana 052b94d8e0 refactor: externalize SQL WHERE clause generation and update cost data column names. 11 months ago
MrWaradana 84bc9ec06e fix: Modify equipment service query to handle null `actfinish` or `actstart` in duration condition. 11 months ago
MrWaradana a2152f33b4 feat: Implement RBD integration for EAF simulation and result collection, and enhance equipment data with joined Maximo records. 11 months ago
MrWaradana 65308e5735 feat: Add `cf` and `eaf` fields to the `YearData` model and schema. 11 months ago
MrWaradana 92818a581a feat: Add `min_eac_disposal_cost` to the equipment chart response schema and service. 11 months ago
MrWaradana b2b191dd78 refactor get all simulations per user 11 months ago