Skip to content

Instantly share code, notes, and snippets.

@kumajaya
kumajaya / first_trip_logic.ipynb
Created November 2, 2025 15:29
Determistic First Trip Logic
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kumajaya
kumajaya / neraca_massa.md
Created August 2, 2025 04:47
Verifikasi Neraca Massa

Verifikasi Neraca Massa

sankey-beta

  %% source,target,value
  Feed Air, LOX, 5905.7
  Feed Air, LIN, 5934.0
  Feed Air, RAR, 290.8
 Feed Air, GOX, 815.1
@kumajaya
kumajaya / level_transmitter_dp.md
Created August 2, 2025 04:29
Flowchart Pengukuran Level menggunakan Transmitter DP

Flowchart Pengukuran Level menggunakan Transmitter DP

flowchart TD
  %% === Class Definitions ===
  classDef utama fill:#e0f2fe,stroke:#0284c7,color:#0c4a6e,stroke-width:2px,font-weight:bold;
  classDef proses fill:#ecfdf5,stroke:#10b981,color:#065f46;
  classDef keputusan fill:#fefce8,stroke:#eab308,color:#92400e;
  classDef akhir fill:#f3e8ff,stroke:#a855f7,color:#6b21a8,stroke-width:2px,font-weight:bold;
  %% === Diagram Nodes ===
(*=========================================================*)
(* OEE Shutdown Runtime Management *)
(* *)
(* Author : Ketut Kumajaya *)
(* Date : 18/07/2025 *)
(* Version: 1.0 *)
(*=========================================================*)
(* Eksekusi di text code lain menggunakan rising trigger ASP_RUN dan delay on *)
@kumajaya
kumajaya / FNC_TRE.ipynb
Created July 4, 2025 10:22
IHI TRE Expected Performance Curve
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kumajaya
kumajaya / RNC_F30HN3.ipynb
Last active July 4, 2025 10:15
IHI F30HN3 Expected Performance Curve
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kumajaya
kumajaya / flow_from_motor_power_vice_versa.ipynb
Created May 12, 2025 18:51
flow_from_motor_power_vice_versa.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kumajaya
kumajaya / flow_from_motor_power.st
Created May 12, 2025 18:21
Calculate centrifugal compressor flow from known motor power
FUNCTION_BLOCK CompressorCalc
VAR_INPUT
Q_design : REAL;
T_design : REAL;
PR_design : REAL;
P_design : REAL;
T_real : REAL;
PR_real : REAL;
P_real : REAL;
END_VAR
@kumajaya
kumajaya / flow_from_motor_power_vice_versa.py
Created May 12, 2025 18:08
Calculate centrifugal compressor flow from known motor power and vice versa
import math
def calculate_flow(Q_design, T_design, PR_design, P_design,
T_real, PR_real, P_real):
return Q_design * math.sqrt((T_design / T_real) *
(PR_design / PR_real) *
(P_real / P_design))
def calculate_power(Q_real, Q_design, P_design):
return P_design * (Q_real / Q_design) ** 2
[
{
"id": "7a898578.d176fc",
"type": "inject",
"z": "540fcd8a.0bd3e4",
"name": "",
"props": [
{
"p": "payload"
}